Property | Type | Description | |
---|---|---|---|
$numberFormatter |
Method | Description | |
---|---|---|
render ( integer $decimals = 2, string $decimalSeparator = '.', string $thousandsSeparator = ',', string $localeFormatLength = NumbersReader::FORMAT_LENGTH_DEFAULT ) : string | Format the numeric value as a number with grouped thousands, decimal point and precision. |
public render ( integer $decimals = 2, string $decimalSeparator = '.', string $thousandsSeparator = ',', string $localeFormatLength = NumbersReader::FORMAT_LENGTH_DEFAULT ) : string | ||
$decimals | integer | The number of digits after the decimal point |
$decimalSeparator | string | The decimal point character |
$thousandsSeparator | string | The character for grouping the thousand digits |
$localeFormatLength | string | Format length if locale set in $forceLocale. Must be one of Neos\Flow\I18n\Cldr\Reader\NumbersReader::FORMAT_LENGTH_*'s constants. |
return | string | The formatted number |