powered by
Converts integer value to other base.
toBase(x, base = 2L)
The function returns a numeric vector containing representation of x in a base given in base.
x
base
positive integer representing the number to convert.
positive integer representing the base.
toBase(888, 5)
Run the code above in your browser using DataLab