\PhpOffice\PhpSpreadsheet\Calculation\MathTrigRoundUp

Summary

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

funcRoundUp()

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

ROUNDUP.

Rounds a number up 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