User Tools

Site Tools


xrpl:round

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

xrpl:round [2019/03/04 00:59] – created Karsten75xrpl:round [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-=====  round   ===== 
- 
-^Arguments^Result^Notation^ 
-|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 === 
-<code>trace(PI round(2)) #print '3.14'  
-</code> 
  
xrpl/round.1551661141.txt.gz · Last modified: 2025/02/14 14:56 (external edit)