Duco supports up to 16 decimal digits. If more than 16 digits are submitted, then the value is automatically rounded to 16 significant digits. This means 16 digits in the number starting with the first non-zero digit.
Example 1:
- A value of 1234567890.123456789 is loaded into Duco.
- The value is 1234567890.123456789 during mapping on the Match Fields screen.
- The value is then rounded to 1234567890.123457 for matching, this is 16 significant digits.
- The value is rounded to 16 decimal places for insertion into the database, which means the same 1234567890.123457 will be the value seen on the UI and in exports.
Example 2:
- A value of 1000000000000000000 (1 x 10^18, or 1e18) in loaded into Duco.
- The value is 1000000000000000000 (1e18) during mapping on the Match Fields screen.
- The value is *preserved* for matching, because it has only 1 significant digit.
- The value is also *preserved* for insertion into the database, because it has fewer than 16 decimal places. 1000000000000000000 will be the value seen on UI and in exports.
Example 3:
- 0.00012345678901234567890 is loaded into Duco.
- The value is 0.00012345678901234567890 during mapping on the Match Fields screen.
- The value is rounded to 0.0001234567890123457 for matching, this is 16 significant digits.
- The value is also rounded to 0.0001234567890123 for insertion into the database, because it has more than 16 decimal places. 0.0001234567890123 will be the value seen on UI and in exports.