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/errors.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
@@ -13,13 +13,13 @@ The following table provides the full list of controlled errors that might possi
13
13
| TYPE | MESSAGE
14
14
|:--- |:---
15
15
|`NoLocaleError` | Missing locale information for {locale}.
16
-
|`NoCurrencyError` | <p>Cannot determine the currency information.</p> <p>Load the currency data of the locale.</p>
17
-
|`NoSupplementalCurrencyError` | <p>Cannot determine the currency.</p> <p>Load the supplemental `currencyData`.</p>
16
+
|`NoCurrencyError` | Cannot determine the currency information.Load the currency data of the locale.
17
+
|`NoSupplementalCurrencyError` | Cannot determine the currency.Load the supplemental `currencyData`.
18
18
|`NoCurrencyRegionError` | Missing currency information for the region ${territory}.
19
-
|`NoCurrencyDisplay` | <p>Cannot determine the display information for the currency.</p> <p>Load the currency data of the locale. The default culture does not include all currency data.</p>
20
-
|`NoGMTInfoError` | <p>Cannot determine the GMT format of the locale.</p> <p>Load the `timeZoneNames` data of the locale.</p>
21
-
|`NoWeekDataError` | <p>Cannot determine the first week day of the locale.</p> <p>Load the supplemental `weekData`.</p>
22
-
|`NoFirstDayError` | <p>Cannot determine the first week day of the locale.</p> <p>The default culture data includes only the en-US first day information. Load the supplemental `weekData`.</p>
19
+
|`NoCurrencyDisplay` | Cannot determine the display information for the currency.Load the currency data of the locale. The default culture does not include all currency data.
20
+
|`NoGMTInfoError` | Cannot determine the GMT format of the locale.Load the `timeZoneNames` data of the locale.
21
+
|`NoWeekDataError` | Cannot determine the first week day of the locale.Load the supplemental `weekData`.
22
+
|`NoFirstDayError` | Cannot determine the first week day of the locale.The default culture data includes only the en-US first day information. Load the supplemental `weekData`.
Copy file name to clipboardExpand all lines: docs/num-formatting/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Standard number formatting can be specified by passing an options object or a st
31
31
32
32
formatNumber(1234.5678, "n5"); // 1,234.56780
33
33
34
-
***The `"c"` specifier**—Formats the number as a currency based on the locale. The specified locale latest currency symbol is used for the formatting. Precision is specified by adding a number after `"c"`. By default, the number is formatted and rounded to two decimal digits, or the number of digits in the CLDR `currencyData` fractions data if the currency is available.
34
+
***The `"c"` specifier**—Formats the number as a currency based on the locale. The latest currency symbol of the specified locale is used for the formatting. To specify precision, add a number after `"c"`. By default, the number is formatted and rounded to two decimal digits, or to the number of digits in the `currencyData` fractions data of the CLDR if the currency is available.
35
35
36
36
> The locale numbers `currencies` data and the supplemental `currencyData` must be loaded for the currency formatting to work.
37
37
@@ -43,7 +43,7 @@ Standard number formatting can be specified by passing an options object or a st
***The `"p"` specifier**—Formats the number as a percentage based on the locale. The passed number is multiplied by 100. Precision is specified by adding a number after `"p"`. By default, the number is formatted and rounded to zero decimal digits.
46
+
***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
47
48
48
import { formatNumber } from '@telerik/kendo-intl';
49
49
@@ -59,7 +59,7 @@ Standard number formatting can be specified by passing an options object or a st
59
59
60
60
formatNumber(0.45678, "e0"); // 5e-1
61
61
62
-
Apart from setting a string, the standard formats can also be specified by passing an object with the style option.
62
+
Apart from setting a string, you can also specify the standard formats by passing an object with the style option.
63
63
64
64
import { formatNumber } from '@telerik/kendo-intl';
65
65
@@ -78,7 +78,7 @@ Standard number formatting can be specified by passing an options object or a st
78
78
style: "percent"
79
79
}, "de"); // 123.457 %
80
80
81
-
For full list of available options check the [`formatNumber` API]({% slug numbersapi_internalization %}#the-formatnumber-method).
81
+
For the full list of available options, refer to the API documentation on the [`formatNumber`]({% slug numbersapi_internalization %}#the-formatnumber-method) method.
0 commit comments