$$BASE |
Converts the first parameter from the number base of
the second parameter to the number base of the third parameter. Usage: W
$$BASE^XLFUTL("1A",16,2) ==> 11010 Input 1: a string representing the number
to convert. Input 2: a number from 2 to 16, the base of input 1. Input 3: a
number from 2 to 16, the base for the output.
The useful values for Input 2 and 2 are 2, 8, 10, 16 but other numbers can be
used. e.g. W $$BASE("A",12,3) ==> 101
Because of the use of division, input is limited by the M vendor to the
largest integer they handle, 15 digits.
|
|