Made to Order Software Corporation Logo

Divide

SWF Action
Action Category: 
Arithmetic
Action Details: 
0
Action Identifier: 
13
Action Structure: 
<n.a.>
Action Length: 
0 byte(s)
Action Stack: 
pop 2 (n), push 1 (f)
Action Operation: 
n1 := pop();
n2 := pop();
r := n2 / n1;
push(r);
Action Flash Version: 
4
See Also: 

Pop two values, divide the second by the first and put the result back on the stack.

The numbers are always transformed to floating points. Use the Integral Part action on the result to extract an integer.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Syndicate content