roundAt

roundAt ( number number , float[default:1] _precision ) : float

Make a round with a precision.

Example

roundAt(23.41,0.05) // = 23.40
roundAt(23.43,0.05) // = 23.45


See also

ceil
floor

Parameters

number

_precision (optional)