User Tools

Site Tools


xrpl:round

This is an old revision of the document!


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' 
xrpl/round.1551661141.txt.gz ยท Last modified: 2025/02/14 14:56 (external edit)