User Tools

Site Tools


crpl:docs:div

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:div [2014/10/01 15:02] – external edit 127.0.0.1crpl:docs:div [2022/07/05 14:23] (current) – Reformat Karsten75
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]]
 =====  div  ===== =====  div  =====
  
-^Arguments^Result^Notation^ +<-a <-b div ->result
-|Two items on the stack|The quotient of two items |''n1 n2 -- n3 ''+
  
 === Description === === Description ===
 Divides the two arguments together and pushes the result on the stack. Divides the two arguments together and pushes the result on the stack.
 +
 +Be very careful! Dividing two integers returns another integer
 +
 === Examples === === Examples ===
-<code>xample goes here</code> +<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.txt · Last modified: 2022/07/05 14:23 by Karsten75