BASE

BASE

Synopsis

BASE(number,base[,length])

Description

BASE function converts a number to a string representing that number in base base.

  • base must be an integer between 2 and 36.
  • This function is OpenOffice.Org compatible.
  • Optional argument length specifies the minimum result length. Leading zeroes will be added to reach this length.

Examples

BASE(255,16,4) equals "00FF".

See also

DECIMAL.