Handbook
Glossary
.h ( n -- )
Factor handbook
»
Developer tools
»
The prettyprinter
»
Prettyprinting numbers
Prev:
.o ( n -- )
Vocabulary
prettyprint
Inputs
n
an integer or floating-point value
Outputs
None
Word description
Outputs an integer or floating-point value in hexadecimal.
See also
>hex
,
hex>
Definition
USING:
namespaces
prettyprint.config
;
IN:
prettyprint
:
.h
( n -- )
16
number-base
[
.
]
with-variable
;