Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
[deleted comment]
[deleted comment]
Actually I made some changes to the original source code to better fit the
expected
behavior; these are the change I have done, from:
// format number
var numParts = String(num).split('.');
num = numParts[0];
var isPositive = (num == (num = Math.abs(num)));
To:
// format number
var numParts = String(num).split('.');
var isPositive = (num >= 0);
num = Math.abs(numParts[0]);
Well probably is not the better and cleaner way... but seems to work perfectly,
at
least for me.
Original comment by morpheus...@gmail.com
on 25 Nov 2009 at 9:54
Fixed in trunk
Original comment by bdewe...@hotmail.com
on 28 Nov 2009 at 2:48
Original comment by bdewe...@hotmail.com
on 28 Nov 2009 at 3:11
Original comment by bdewe...@hotmail.com
on 28 Nov 2009 at 3:12
Original issue reported on code.google.com by
morpheus...@gmail.com
on 24 Nov 2009 at 9:00