User Tools

Site Tools


4rpl:commands:round

This is an old revision of the document!


Index

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(PI round(2)) #print '3.14'

Index

4rpl/commands/round.1647996245.txt.gz · Last modified: 2025/02/14 14:56 (external edit)