<- CRPL reference <- Math Commands

asfloat

<-integer1 asfloat ->float1

Description

Converts an item on the stack to a floating point number and pushes it back onto the stack.

Examples

4 3 div trace   # yields 1 
4 asFloat 3 div trace  # yields 1.333..