>Just a question : Why don't use Math.floor for the minutes ?
 
because Math.floor is not solving the problem.
 if we uses Math.floor(4.9999) output is ==> 04:59 and
 if we uses Math.round(4.9999) output is ==> 05:00
   
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-581438-port-pan/+merge/138678
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-opw-581438-port-pan.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to