dec2base.RdThis function converts the nonnegative integer to the specified base.
dec2base(n, base, len = 0)
dec2hex(n, len = 0)| n | Non-negative integer. |
|---|---|
| base | Number between 2 and 36. |
| len | Length of the character string. |
The returned argument is a string.
This function converts the nonnegative integer n to the specified
base, where n must be a nonnegative integer smaller than \(2^52\),
base must be an integer between 2 and 36 and len suggests the
length of the character string.
Brandon Whitcher bwhitcher@gmail.com
x <- dec2base(23, 2)