BASE (PQL - xl)

This function converts a number into a text representation according to specified base

  • Library: PQL \ Spreadsheet \ Math & Trig
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

BASE(number, radix, OPTIONAL min length)

Function Arguments

Name

Description

Type

Optional

number

Refers to the value that you want to convert. This value must be greater than or equal to 0 and less than 2^53

Number

radix

Refers to the base that you want to convert the value into. This value must be greater than or equal to 2 and less than or equal to 36

Number

min length

Refers to the minimum length of the resultant string. This value must be greater than or equal to 0 and less than or equal to 255

Number

Y

Comments

This function is the same as the Microsoft Excel 'BASE' function - using the same inputs, logic and outputs.