User Tools

Site Tools


prpl:round

<- PRPL reference <- Math

round

ArgumentsResultNotation
number int float [number int- float]

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(PI round(2)) #print '3.14' 
prpl/round.txt · Last modified: 2018/06/14 16:02 by kajacx