$invalidChars
$invalidChars
DOLLAR(float $value, int $decimals = 2) : string
DOLLAR.
This function converts a number to text using currency format, with the decimals rounded to the specified place. The format used is $#,##0.00_);($#,##0.00)..
float | $value | The value to format |
int | $decimals | The number of digits to display to the right of the decimal point. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2 |
NUMBERVALUE(mixed $value = '', string $decimalSeparator = null, string $groupSeparator = null) : float|string
NUMBERVALUE.
mixed | $value | Value to check |
string | $decimalSeparator | decimal separator, defaults to locale defined value |
string | $groupSeparator | group/thosands separator, defaults to locale defined value |