@@ -61,7 +61,7 @@ scheme:
6161| ------------| -------------------------------------|
6262| EUR | €1.234,56 |
6363| GBP | £1,234.56 |
64- | USD | \ $ 1,234.56 |
64+ | USD | $1,234.56 |
6565
6666The third parameter is an array of options for further defining the
6767output. The following options are available:
@@ -70,13 +70,13 @@ output. The following options are available:
7070| ---- | ---- |
7171| before | Text to display before the rendered number. |
7272| after | Text to display after the rendered number. |
73- | zero | The text to use for zero values; can be a string or a number. ie . 0, 'Free!'. |
74- | places | Number of decimal places to use, ie . 2 |
75- | precision | Maximal number of decimal places to use, ie . 2 |
76- | locale | The locale name to use for formatting number, ie . "fr_FR". |
77- | fractionSymbol | String to use for fraction numbers, ie . ' cents'. |
73+ | zero | The text to use for zero values; can be a string or a number. i.e . 0, 'Free!'. |
74+ | places | Number of decimal places to use, i.e . 2 |
75+ | precision | Maximal number of decimal places to use, i.e . 2 |
76+ | locale | The locale name to use for formatting number, i.e . "fr_FR". |
77+ | fractionSymbol | String to use for fraction numbers, i.e . ' cents'. |
7878| fractionPosition | Either 'before' or 'after' to place the fraction symbol. |
79- | pattern | An ICU number pattern to use for formatting the number ie. \ # ,###.00 |
79+ | pattern | An ICU number pattern to use for formatting the number i.e. ` #,###.00 ` |
8080| useIntlCode | Set to ` true ` to replace the currency symbol with the international currency code. |
8181
8282If ` $currency ` value is ` null ` , the default currency will be retrieved from
@@ -216,10 +216,10 @@ resides.
216216
217217| Option | Description |
218218| ---- | ---- |
219- | places | Number of decimal places to use, ie . 2 |
220- | precision | Maximum number of decimal places to use, ie . 2 |
221- | pattern | An ICU number pattern to use for formatting the number ie. \ # ,###.00 |
222- | locale | The locale name to use for formatting number, ie . "fr_FR". |
219+ | places | Number of decimal places to use, i.e . 2 |
220+ | precision | Maximum number of decimal places to use, i.e . 2 |
221+ | pattern | An ICU number pattern to use for formatting the number i.e. ` #,###.00 ` |
222+ | locale | The locale name to use for formatting number, i.e . "fr_FR". |
223223| before | Text to display before the rendered number. |
224224| after | Text to display after the rendered number. |
225225
@@ -302,9 +302,9 @@ The `$options` parameter takes the same keys as `Number::format()` itself:
302302
303303| Option | Description |
304304| -----------| ------------------------------------------------------------|
305- | places | Number of decimal places to use, ie . 2 |
306- | precision | Maximum number of decimal places to use, ie . 2 |
307- | locale | The locale name to use for formatting number, ie . "fr_FR". |
305+ | places | Number of decimal places to use, i.e . 2 |
306+ | precision | Maximum number of decimal places to use, i.e . 2 |
307+ | locale | The locale name to use for formatting number, i.e . "fr_FR". |
308308| before | Text to display before the rendered number. |
309309| after | Text to display after the rendered number. |
310310
0 commit comments