HP Forums

Full Version: ENG Format (what looks better?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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,
HP-41 does
Code:
123.46   -06
ie, four digits after the first one, basically your second one, except that it does not display the "E".
The display setting is specifying the number of significant figures. It should be honoured. I.e. the second option would be my preference.


Pauli
I would lean toward the second option too.

Also, consider using the metric prefixes (perhaps optionally) like Casio does, so 123.46 E-6 would be displayed as 123.46μ. I always thought that was a nice feature.
Reference URL's