This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:asfloat [2013/01/14 19:04] – created virgilw | crpl:docs:asfloat [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== asfloat | ||
+ | |||
+ | < | ||
+ | |||
+ | === 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.. | ||
+ | </ |