User Tools

Site Tools


crpl:docs:div

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:div [2013/01/14 19:02] – created virgilwcrpl:docs:div [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]] 
 +=====  div  ===== 
 + 
 +<-a <-b div ->result 
 + 
 +=== Description === 
 +Divides the two arguments together and pushes the result on the stack. 
 + 
 +Be very careful! Dividing two integers returns another integer 
 + 
 +=== Examples === 
 +<code 4RPL> 
 +ClearTraceLog 
 +ShowTraceLog 
 +5 4 div Trace #1 
 +5 4.0 div Trace #1.25 
 +-5 4 div Trace #-1 
 +</code>  
crpl/docs/div.1358190176.txt.gz · Last modified: 2025/02/14 14:56 (external edit)