WireNumberTools::locale()
Get a number formatting property from current locale
In multi-language environments, this method’s return values are affected by the current language locale.
Usage
// basic usage
$array = $wireNumberTools->locale();
// usage with all arguments
$array = $wireNumberTools->locale(string $key = '');Arguments
| Name | Type(s) | Description |
|---|---|---|
$key (optional) | string | Property to get or omit to get all properties. Properties include:
|
Return value
array string int null
WireNumberTools methods and properties
API reference based on ProcessWire core version 3.0.252