Ignore:
Timestamp:
Mar 14, 2013, 12:46:14 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1747: Change the meaning of 'Decimals' setting to 'Precision'

Added AdaptiveNumberFormatter implementation that dynamically calculates the number of decimals to use. The FormatterFactory implementation now uses the new formatter instead of the old one.

Also changed the formatting original and remaining quantity display on a several places to use a Formatter implementation (eg. a better fix for #1746) so now the setting should automatically be applied everywhere numbers are displayed. The only exception is file sizes which now always use 2 decimals and dynamic switching between kb, Mb and Gb (this was not consistent before).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2-stable/doc/src/docbook/user/webclient.xml

    r5971 r6252  
    852852              <listitem>
    853853                <para>
    854                 The number of decimals to display for numerical floating point values.
    855                 The default is 2.
     854                The base number of decimals to display for numerical floating point values.
     855                The default is 2. This setting is used for values between 1 and 10. For higher
     856                or lower values, the number of decimals is adapted in order to not loose
     857                information (eg. 0.0059 instead of 0.01) or give the impression of very
     858                high precision (eg. 135000 instead of 135000.00).
    856859                </para>
    857860              </listitem>
Note: See TracChangeset for help on using the changeset viewer.