11-11-2019, 10:01 PM

I am writing RPN calculator software and have a question regarding ENG display format.

For ENG format I wrote the display function so that it always displays the actual number of decimals but on an HP calculator, the number of decimals displayed depends on the size of the mantissa and exponent.

For example, with ENG 4 what would be a "better" ENG display format for the number 0.0001234567

123.4567 E-6 (This is what I'm currently displaying, 4 decimals)

or

123.46 E-6. (HP style, 2 decimals)

I'm not sure if I explained it correctly.

Regards,

For ENG format I wrote the display function so that it always displays the actual number of decimals but on an HP calculator, the number of decimals displayed depends on the size of the mantissa and exponent.

For example, with ENG 4 what would be a "better" ENG display format for the number 0.0001234567

123.4567 E-6 (This is what I'm currently displaying, 4 decimals)

or

123.46 E-6. (HP style, 2 decimals)

I'm not sure if I explained it correctly.

Regards,