en:tobinary [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:tobinary

## FromBinary (Function)

Format

ToBinary ( numeric_expr )

returns string_value

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

FromBinary, FromHex, FromOctal, FromRadix,ToBinary, ToHex, ToOctal, ToRadix

### History

0.9.9.45 | New To Version

en/tobinary.txt · Last modified: 2014/02/09 20:06 by admin