Base change
Returns a number in a different base. The representation of a number in base is if
with .
Syntax
base_change(Integer, Integer)
base_change(Vector, Integer)
Description
Given an integer in decimal base and a base , returns a vector in the desired base in the order specified above.
Given a vector and a base , where is the representation in base in the order specified above, returns the number in decimal base.