NumberFormat
Less than 1 minute
NumberFormat
Format a number with grouped thousands.
Methods
run
public run(mixed $value, int $decimals, string $decPoint = '.', string $thousandsSep = ','): stringParameters
| Parameter | Type | Description |
|---|---|---|
$value | mixed | The number to format |
$decimals | int | The number of decimal points |
$decPoint | string | The character to use as the decimal point |
$thousandsSep | string | The character to use as the thousands separator |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000