User Tools

Site Tools


crpl:docs:asfloat

<- 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..
crpl/docs/asfloat.txt · Last modified: 2022/07/01 14:49 by Karsten75