Declined
Last Updated: 06 Apr 2022 14:02 by ADMIN
Jonas
Created on: 21 Aug 2017 07:20
Category: Globalization
Type: Feature Request
2
Cut / truncate when using Number Formatting
We are using you "number formatting API" (http://docs.telerik.com/kendo-ui/framework/globalization/numberformatting) to display the numbers on our webpage.   

For that, your API works fine as long as we round the numbers. E.g.: 

kendo.toString(10.12, "n0"); //  will result in 10
kendo.toString(10.99, "n0"); //  will result in 11
But we have some use-cases where we have to cut/truncate the number so that:

kendo.toString(10.999, "n0"); // SHOULD result in 10
Here we just want to cut all decimals without any rounding, but I canĀ“t find this option in your API documentation !!
I think this is a very basic use-case which should be handled by your low level API !
0 comments