\PhpOffice\PhpSpreadsheet\Calculation\MathTrigTrunc

Summary

Methods
Properties
Constants
funcTrunc()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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