int2bin {adana}R Documentation

Convert an integer to binary coded number

Description

The function int2bin converts integers to binary coded numbers.

Usage

int2bin(int, m)

Arguments

int

Input number (integer)

m

Number of the digits of output value.

Value

Returns the binary coded number of the integer number given in the input.

Author(s)

Zeynel Cebeci & Erkut Tekeli

See Also

int2bin

Examples

int2bin(250)      # returns 11111010
int2bin(250, 9)   # returns 011111010

[Package adana version 1.1.0 Index]