mround( number, multiple )
Rounds the number to the specified multiple.
Keyword | Type | Description |
---|---|---|
|
Decimal |
The number that will be rounded. |
|
Decimal |
The multiple to which you want to round the number. |
Integer
If the nearest lower multiple is as far away as the nearest higher multiple, the number will be rounded up.
mround(63,8)
returns 64
fixed(): Use this function with mround()
to display your desired output.