Class LocalizedNumberFormatter
Formats numbers using locale conventions.
-
ICanBoogie\CLDR\LocalizedObject
uses
ICanBoogie\Accessor\AccessorTrait (not available)
ICanBoogie\CLDR\LocalePropertyTrait
-
ICanBoogie\CLDR\LocalizedNumberFormatter
implements
ICanBoogie\CLDR\Formatter
Methods summary
public
string
|
#
__invoke( number $number, null $pattern = null, array $symbols = [] )
Formats a number.
Parameters
- $number
- The number to format.
- $pattern
- $symbols
- Symbols used to format the number.
Returns
string
|
public
string
|
#
format( number $number, string|null $pattern = null, array $symbols = [] )
Formats a number.
Parameters
- $number
- The number to format.
- $pattern
- $symbols
- Symbols used to format the number.
Returns
string
|