You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework/globalization/numberformatting.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ position: 5
8
8
9
9
# Number Formatting
10
10
11
-
The purpose of number formatting is to convert a `Number` object to a human readable string using the culture-specific settings.
11
+
The purpose of number formatting is to convert a `Number` object to a human readable string using the culture-specific settings.
12
12
13
13
The [`kendo.format`](/api/javascript/kendo#format) and [`kendo.toString`](/api/javascript/kendo#tostring) methods support standard and custom numeric formats.
14
14
@@ -70,29 +70,29 @@ The `"0"` is the zero placeholder. It replaces the zero with the corresponding d
70
70
71
71
###### Example
72
72
73
-
kendo.toString(1234.5678, "00000") -> 01235.
73
+
kendo.toString(1234.5678, "00000") -> 01235
74
74
75
75
The `"#"` is the digit placeholder. It replaces the pound sign with the corresponding digit if one is present. Otherwise, no digit appears in the result string.
76
76
77
77
###### Example
78
78
79
-
kendo.toString(1234.5678, "#####") -> 1235.
79
+
kendo.toString(1234.5678, "#####") -> 1235
80
80
81
81
> **Important**
82
82
>
83
-
> The `"#"` specifier cannot be used to format a number as telephone number, i.e. (###)-###-####.
83
+
> The `"#"` specifier cannot be used to format a number as telephone number, i.e. (###)-###-####
84
84
85
85
The `"."` is the decimal placeholder. It determines the location of the decimal separator in the result string.
86
86
87
87
###### Example
88
88
89
-
kendo.toString(0.45678, "0.00") -> 0.46 (en-US).
89
+
kendo.toString(0.45678, "0.00") -> 0.46 (en-US)
90
90
91
91
The `","` is the group separator placeholder. It inserts a localized group separator between each group.
0 commit comments