DECIMAL

Converts the text representation of a number in another base to decimal.

Sample Usage

DECIMAL("c8",16)
DECIMAL(A4,A5)

Syntax

DECIMAL(value, base)

  • value - The number that is to be converted.
  • base - The base to convert the number from.

Examples

DECIMAL("c8",16) returns a value of 200.
DECIMAL(A4,A5) converts the number A4 from base A5 to decimal.

Notes

  • The DECIMAL function only converts to positive integers.
  • Ensure that value is enclosed in quotation marks.