User Tools

Site Tools


crpl:docs:asfloat

This is an old revision of the document!


<- 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.1656701362.txt.gz · Last modified: 2025/02/14 14:56 (external edit)