Migrating from OS/VS PL/I to VA PL/I

(snip)

Quote:

>The LRM also explains under "Data conversion in arithmetic

>operations" that "if the bases of the two operands differ,

>the decimal operand is converted to binary."

Conversions in PL/I are interesting. My favorite, from a manual

I saw many years ago, is that 25+1/3 is 5.333333333333 and, as the

message says above, significant digits may be lost.

The rules tell how many digits before the decimal or binary point

in each case. It takes a while to learn them, though, maybe too long.

-- glen