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
***The `"p"` specifier**—Formats the number as a percentage based on the locale. The passed number is multiplied by 100. To specify precision, add a number after `"p"`. By default, the number is formatted and rounded to zero decimal digits.
47
57
48
58
import { formatNumber } from '@telerik/kendo-intl';
@@ -69,7 +79,7 @@ Standard number formatting can be specified by passing an options object or a st
69
79
}); // 1,234.5678
70
80
71
81
formatNumber(1234.5678, {
72
-
style: "currency",
82
+
style: "currency",
73
83
currency: "EUR",
74
84
currencyDisplay: "displayName"
75
85
}, "bg"); // 1 234,57 евро
@@ -90,7 +100,7 @@ The supported format specifiers are:
90
100
91
101
import { formatNumber } from '@telerik/kendo-intl';
92
102
93
-
formatNumber(1234.5678, "00000"); // 01235
103
+
formatNumber(1234.5678, "00000"); // 01235
94
104
95
105
***The `"#"` specifier**—A digit placeholder. It replaces the Pound sign with the corresponding digit if one is present. Otherwise, no digit appears in the result string.
0 commit comments