Handbook
Glossary
bin> ( str -- n/f )
Factor handbook
»
The language
»
Numbers
»
Converting between numbers and strings
Prev:
string>number ( str -- n/f )
Next:
oct> ( str -- n/f )
Vocabulary
math
.
parser
Inputs
str
a
string
Outputs
n/f
a
real
or
f
Word description
Creates a real number from a string representation of a number in base 2.
Outputs
f
if the string does not represent a number.
See also
>bin
,
.b
Definition
IN:
math.parser
:
bin>
( str -- n/f )
2
base>
;
inline