Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close
Try in the cloud
Try in the cloud

BASE Function

The BASE function is one of the math and trigonometry functions. It is used to convert a number into a text representation with the given base.

Syntax

BASE(number, radix, [min_length])

The BASE function has the following arguments:

Argument Description
number A number you want to convert. An integer greater than or equal to 0 and less than 2^53.
radix A base you want to convert the number to. An integer greater than or equal to 2 and less than or equal to 36.
min_length A minimum length of the returned string. An integer greater than or equal to 0 and less than 256. It is an optional parameter. If the result is shorter than the minimum lenght specified, leading zeros are added to the string.

Notes

How to apply the BASE function.

Examples

The figure below displays the result returned by the BASE function.

BASE Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action