![]() ![]() |
Reference Type: Supported, Category: Utility Functions, ICR#: 2622
The $$CNV^XLFUTL extrinsic function converts a number from Base 10 to another base, which must be between 2 and 16.
$$CNV^XLFUTL(n,base)
n: |
(required) Base 10 number to convert. |
base: |
(required) The base to which the number is to be converted. |
returns: |
Returns the converted number to specified base. |
>S X=$$CNV^XLFUTL(15,2) >W X 1111 |
>S X=$$CNV^XLFUTL(255,2) >W X 11111111 |
>S X=$$CNV^XLFUTL(255,8) >W X 377 |