toBase | R Documentation |
Converts integer value to other base.
toBase(x, base = 2L)
x |
positive integer representing the number to convert. |
base |
positive integer representing the base. |
The function returns a numeric vector containing
representation of x
in a base given in base
.
toBase(888, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.