User Tools

Site Tools


ixe:irpl:math:round

Math

round

Round (<-value <-decimalPlaces)

Description

Rounds off a number to the specified number of decimal places. This always returns a float, even when you are rounding to a whole number.

Examples

trace(round(PI 2)) #print '3.14'
ixe/irpl/math/round.txt · Last modified: 2025/01/07 15:41 by 127.0.0.1