NumberFormat
Less than 1 minute
NumberFormat
Format a number with grouped thousands.
class NumberFormatMethods
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 Tue, 21 Apr 2026 04:00:24 +0000