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

Prev:oct> ( str -- n/f )
Next:base> ( str radix -- 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 16.

Outputs f if the string does not represent a number.

See also
>hex, .h

Definition

: hex> ( str -- n/f ) 16 base> ; inline