crpl:docs:asfloat

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:asfloat [2013/01/14 19:09] – external edit 127.0.0.1crpl:docs:asfloat [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
  
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]]
 =====  asfloat  ===== =====  asfloat  =====
  
-^Arguments^Result^Notation^ +<-integer1 asfloat ->float1
-|An item on the stack|Converted item |''n1 -- f1 ''+
  
 === Description === === Description ===
 Converts an item on the stack to a floating point number and pushes it back onto the stack. Converts an item on the stack to a floating point number and pushes it back onto the stack.
 === Examples === === Examples ===
-<code>example goes here</code>  +<code 4RPL> 
 +4 3 div trace   # yields 1  
 +4 asFloat 3 div trace  # yields 1.333.. 
 +</code> 
  
crpl/docs/asfloat.1358190558.txt.gz · Last modified: 2025/02/14 14:56 (external edit)