Post Reply 
Improving FIX mode
10-16-2023, 08:27 PM
Post: #3
RE: Improving FIX mode
Solving this by adding a new setting, MinimumSignificantDigits.

This selects the minimum number of significant digits before switching to scientific notation in FIX mode.

The default value is 0, which is similar to how HP calculators perform. For example, with 2 FIX, the value 0.055 will display as 0.06, and 0.0055 will display as 0.01.

A higher value will switch to scienfic mode to show at least the given number of digits. For instance, with 2 FIX, if the value is 1, then 0.055 will still display as 0.06 but 0.0055 will display as 5.50E-3. If the value is 2, then 0.055 will display as 5.5E-2.

In other words, setting the value to 0 emulates the behaviour of HP calculators. Setting the value to 34 will switch to scientific notation if not all digits can be displayed
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Improving FIX mode - c3d - 10-16-2023, 12:08 PM
RE: Improving FIX mode - Albert Chan - 10-16-2023, 01:28 PM
RE: Improving FIX mode - c3d - 10-16-2023 08:27 PM
RE: Improving FIX mode - Pyjam - 10-20-2023, 08:07 AM
RE: Improving FIX mode - Albert Chan - 10-20-2023, 10:59 AM
RE: Improving FIX mode - c3d - 10-20-2023, 05:07 PM
RE: Improving FIX mode - c3d - 10-20-2023, 04:51 PM
RE: Improving FIX mode - c3d - 10-20-2023, 05:58 PM
RE: Improving FIX mode - Pyjam - 10-20-2023, 11:17 AM
RE: Improving FIX mode - Albert Chan - 10-20-2023, 02:00 PM
RE: Improving FIX mode - c3d - 10-21-2023, 08:53 AM
RE: Improving FIX mode - Pyjam - 10-21-2023, 10:24 AM
RE: Improving FIX mode - c3d - 10-21-2023, 11:26 AM
RE: Improving FIX mode - Pyjam - 10-20-2023, 02:25 PM
RE: Improving FIX mode - agarza - 10-20-2023, 02:56 PM
RE: Improving FIX mode - Pyjam - 10-20-2023, 03:38 PM
RE: Improving FIX mode - agarza - 10-20-2023, 04:39 PM
RE: Improving FIX mode - Pyjam - 10-20-2023, 05:36 PM



User(s) browsing this thread: 1 Guest(s)