oct> ( str -- n/f )
Factor handbook » The language » Numbers » Converting between numbers and strings

Prev:bin> ( str -- n/f )
Next:hex> ( str -- n/f )


Vocabulary
math.parser

Inputs
stra string


Outputs
n/fa real or f


Word description
Creates a real number from a string representation of a number in base 8.

Outputs f if the string does not represent a number.

See also
>oct, .o

Definition

: oct> ( str -- n/f ) 8 base> ; inline