\PhpOffice\PhpSpreadsheet\Calculation\MathTrigMround

Summary

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

funcMround()

funcMround(float  $number, int  $multiple) : float|string

MROUND.

Rounds a number to the nearest multiple of a specified value

Parameters

float $number

Number to round

int $multiple

Multiple to which you want to round $number

Returns

float|string —

Rounded Number, or a string containing an error