<- PRPL reference <- Math
Arguments | Result | Notation |
---|---|---|
number number | number | [number number- number] |
Divides the two arguments together and pushes the result on the stack.
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