We have a need to for decimal formatting with a minimum of 2 decimals and a maximum of 4. However there's a 'small' rounding bug.
This:
kendo.toString(1.23126, "#,##0.00##")
Returns:
1.2313
(as expected)
However, this:
kendo.toString(1.23125, "#,##0.00##")
Returns:
1.2312
Which is clearly not expected. Because when you do this:
kendo.toString(1.235, "#,##0.00")
It returns:
1.24
This was tested using Chrome 26.somthing :)
This:
kendo.toString(1.23126, "#,##0.00##")
Returns:
1.2313
(as expected)
However, this:
kendo.toString(1.23125, "#,##0.00##")
Returns:
1.2312
Which is clearly not expected. Because when you do this:
kendo.toString(1.235, "#,##0.00")
It returns:
1.24
This was tested using Chrome 26.somthing :)