funcTrunc()
funcTrunc(float $value, int $digits) : float|string
TRUNC.
Truncates value to the number of fractional digits by number_digits.
Parameters
float | $value | |
int | $digits |
Returns
float|string —Truncated value, or a string containing an error