FixDecimal n {,sn}

This command sets the number of decimal places to the right of the decimal point to display when a number is printed. This only affects printing and output of numbers. Internally numbers are still accurate to 12 decimal places when rounding is on.

FixDecimal -1 will reset to the default floating point display.

FixDecimal 0 will display all numbers as integers.

FixDecimal 1-15 sets the number of decimal places to print.

The optional (sn) parameter forces numbers to be formatted in Scientific Notation.

FixDecimal -1,0 (default)

FixDecimal -1,1 (force Scientific Notation)

Rounding On|Off


Become a Patron