Typically a number format would have been set to use the following format:
#,##0
The Kendo UI currently has an issue using this and a number with this format is currently displayed incorrectly
eg 250,000 displays as 2,50000 30,000,000 displays as 3,0000000
There is a solution for this in Kendo with some additional formatting options which so far appear to work well in AwareIM:
Standard format - default is two decimal places
n 10.12
n0 10
n2 10.12
n4 10.1200
Currency format - default is two decimal places
c $10.12
c0 $10
c2 $10.12
c4 $10.1200
If negative then c2 ($10.12)
Percentage format - default is two decimal places
p 10.12 %
p0 10 %
p2 10.12 %
p4 10.1200 %
There is also an exponential option.
Reference to these formats are found here in the Kendo docs
http://docs.telerik.com/kendo-ui/framew ... formatting
Number formatting
Number formatting
Version 8.5 - Windows using MySql 8 and SQL Server - 64bit
-
- Posts: 2413
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Number formatting
There was some crazy stuff happening with the current Kendo version but I understand that they have been fixed with the latest Kendo release which hopefully will be coming to a Aware IM release near you soon.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....