Completed
Last Updated: 10 Dec 2025 12:42 by ADMIN
Timothy
Created on: 20 Nov 2013 23:23
Category: Globalization
Type: Feature Request
45
Update kendo.format to support number formatting for thousand/million etc using "," suffixes
As per the .NET format support shown here:
http://stackoverflow.com/questions/11731996/string-format-numbers-thousands-123k-millions-123m-billions-123b

And here:
http://msdn.microsoft.com/en-us/library/0c899ak8%28v=vs.100%29.aspx#SpecifierTh

123456789.ToString("#,##0,") will return "123,457".
123456789.ToString("#,##0,K") will return "123,457K".

kendo.format("{0:#,##0,", 123456789) will return "123,456,789".
kendo.format("{0:#,##0,K", 123456789) will return "123,456,789K".

As per the .NET standard, each trailing comma will round off 3 digits, so 123456789.ToString("#,##0,,M") will return "123M".
3 comments
ADMIN
Eyup
Posted on: 10 Dec 2025 12:42

Hi,

 

The ECMAScript Internationalization API has been available across browsers for some time now and supports this requirement out-of-the-box.

Integration with Kendo Templates is straightforward and easy. We have created a KB article with detailed examples and information how to achieve that:
https://www.telerik.com/kendo-jquery-ui/documentation/knowledge-base/compact-number-formatting 

 

Regards,
Eyup
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Gabriel
Posted on: 22 May 2017 15:12
This would be incredible useful
Ed
Posted on: 27 Apr 2015 17:15
Also, the ability to format currency is needed. Related Kendo UI forum post:
http://www.telerik.com/forums/format-numbers-as-1-2m-instead-of-full-number