org.el (org-minutes-to-clocksum-string): Round fractions of minutes
commit872e3736d7f9582288e7a53690972d5e1c0cac31
authorBastien Guerry <bzg@altern.org>
Tue, 9 Apr 2013 14:15:17 +0000 (9 16:15 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 9 Apr 2013 14:15:17 +0000 (9 16:15 +0200)
treed5af9a2be51849f20e97fc429beaf754e239caed
parent33f800ccd2eb931a8133ceb821ac89c432992375
org.el (org-minutes-to-clocksum-string): Round fractions of minutes

* org.el (org-minutes-to-clocksum-string): Round fractions of
minutes.

When adding efforts values in the column view, "0:20" will first be
converted as 0.333333333 hour.  When converting the final sum, we
now round the final sum of minutes (e.g. 99.999999999) to get the
correct hour displa (i.e. 1:40 instead of 1:39).
lisp/org.el