User Tools

Site Tools


xrpl:div

Differences

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

Link to this comparison view

xrpl:div [2019/03/03 21:42] – created Karsten75xrpl:div [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-=====  div   ===== 
- 
-^Arguments^Result^Notation^ 
-|number number| number| [number number- number] | 
- 
- 
-=== Description === 
-Divides the two arguments together and pushes the result on the stack.  
- 
-=== Examples === 
-<code>trace(5 div(4)) #prints '1'. Both arguments are integers so division is integer division  
-trace(5 div(4.0)) #prints '1.2'. Handled as floating point division  
-trace(5 div(4 asfloat)) #prints '1.2'. Handled as floating point division  
-</code> 
  
xrpl/div.1551649369.txt.gz · Last modified: 2025/02/14 14:56 (external edit)