![]() ![]() |
Reference Type: Supported, Category: Utility Functions, ICR#: 2622
The $$BASE^XLFUTL extrinsic function converts a number from one base to another. The base must be between 2 and 16, both from and to parameters.
$$BASE^XLFUTL(n,from,to)
n: |
(required) Number to convert. |
from: |
(required) Base of number being converted. |
to: |
(required) Base to which the number is to be converted. |
returns: |
Returns the converted number from one base to another. |
>S X=$$BASE^XLFUTL(1111,2,16) >W X F |
>S X=$$BASE^XLFUTL(15,10,16) >W X F |
>S X=$$BASE^XLFUTL("FF",16,10) >W X 255 |