NumberFormat
Less than 1 minute
NumberFormat
Format a number with grouped thousands.
Methods
run
public run(mixed $value, int $decimals = 0, string $dec_point = '.', string $thousands_sep = ','): string
Parameters
Parameter | Type | Description |
---|---|---|
$value | mixed | The number to format |
$decimals | int | The number of decimal points |
$dec_point | string | The character to use as the decimal point |
$thousands_sep | string | The character to use as the thousands separator |
Generated by Hazaar API Doc Generator