R→B

Member Of Menu: 
Binary
Argument Types: 
Real
Symbol
Expression
Result Type(s): 
Integer
Expression
Invertible: 
No
Valid In Expression: 
Yes
Stack Diagram: 
Real1 Integer2
Symbol1 Expression2
Expression1 Expression2

This operation takes a real number and converts it to an integer value. If the real value is less than 0, then the result is an integer 0. Otherwise, the real value is rounded to the nearest integer and pushed to the stack as an integer value. Note that the the word size may result in upper bits being masked out of the result.