Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$DEC^XLFUTL(): Convert Another Base to Base 10

Reference Type: Supported, Category: Utility Functions, ICR#: 2622

Description

The $$DEC^XLFUTL extrinsic function converts a number from a specified base, which must be between 2 and 16, to Base 10.

Format

  $$DEC^XLFUTL(n,base)

Input Parameters

n:

(required) Number to convert.

base:

(required) Base of number being converted.

Output

returns:

Returns the converted number in Base 10.

Example

>S X=$$DEC^XLFUTL("FF",16)

>W X
255