This is a migrated thread and some comments may be shown as answers.

Issue Rounding to Zero - Getting Negative Zero

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Evan
Top achievements
Rank 1
Evan asked on 17 Dec 2013, 04:27 PM
I'm having an issue where I'm subtracting large numbers and showing the result in a grid.  I'm formatting the column as N2 and it's showing -.00 when the result is a small negative number such as -.0000001.  I can do the rounding manually in one case, but there's another case where this is being dynamically queried from the database and it's more difficult for me to round.  Any idea out there for getting Kendo to show 0.00 consistently?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 19 Dec 2013, 09:45 AM
Hello Evan,

Thank you for drawing our attention to this issue. We addressed it and the fix will be available in the next internal. As a token of a gratitude I updated your Telerik points.

Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Evan
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or