Vocabulary
math.parser

Inputs
na real


Outputs
stra string


Word description
Outputs a string representation of a number using base 16.

Examples
USING: math.parser prettyprint ; 3735928559 >hex .
"deadbeef"

USING: math.parser prettyprint ; -15.5 >hex .
"-1.fp3"


See also
hex>, .h

Definition

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