crpl:docs:asfloat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:asfloat [2013/01/14 19:04] – created virgilwcrpl:docs:asfloat [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|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 === 
 +<code 4RPL> 
 +4 3 div trace   # yields 1  
 +4 asFloat 3 div trace  # yields 1.333.. 
 +</code>  
crpl/docs/asfloat.1358190266.txt.gz · Last modified: 2025/02/14 14:56 (external edit)