User Tools

Site Tools


en:tobinary

ToBinary (Function)

Format

ToBinary ( numeric_expression )

returns string_expression

Description

Converts a number to its a string containing a binary value of ones and zeros.

Example

For t = 0 to 10
print ToBinary(t)
next t

Results in

0
1
10
11
100
101
110
111
1000
1001
1010

See Also

History

0.9.9.45New To Version
en/tobinary.txt · Last modified: 2020/02/28 10:46 (external edit)