\PhpOffice\PhpSpreadsheet\Calculation\MathTrigRoundDown

Summary

Methods
Properties
Constants
funcRoundDown()
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

funcRoundDown()

funcRoundDown(float  $number, int  $digits) : float|string

ROUNDDOWN.

Rounds a number down to a specified number of decimal places

Parameters

float $number

Number to round

int $digits

Number of digits to which you want to round $number

Returns

float|string —

Rounded Number, or a string containing an error