I have a number that I need to display on the screen in the user's number format. The number can be of any length and have any number of decimals. I need the commas or periods to be displayed between the thousands and decimals as appropriate. For example:
123456789.12345 should display as 123,456,789.12345 in en-US
123456789.12345 should display as 123.456.789,12345 in de-DE
1234 should be 1,234 and 1.234 respectively.
123.16 should be 123.16 and 123,16 respectively.
When I use kendo.toString(1234.165, "n") I get 1,234.17 which is not what I want. I want it to be 1,234.165