Converts the specified number into a text representation with the give base.
Syntax Copy Code |
---|
BASE( Integer x, Integer radix, [Integer minimumLength] ) → Text |
If any of the arguments violates its constraints, BASE returns the #NUM! error value. If the specified values are not integer, they are automatically truncated. If the minimumLength argument is specified, leading zeros are added to the result if the result would otherwise be shorter than the specified minimum length. For example, BASE(8,2) returns 1000, but BASE(8,2,8) returns 00001000.
Formula Copy Code |
---|
=BASE(4,2) |
Function Reference
DECIMAL Function