Table of Contents

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

2016/01/01 22:42

History

0.9.9.45New To Version