Issue #1013: flexible formatting of numeric values

If the value has a scale of 0 (no fractions), it is converted into a BigInteger - giving access to more conversion formats.