LineItemRowTotalRelativeTolerance
Found in
Section
Description
This setting affects line item validation. It determines the specific percentage that a line item total can differ by.
For example, 100 units costing €20 = €2000. With LineItemRowTotalRelativeTolerance set to 0.01, ReadSoft Invoices accepts an interpreted value between €1,998.00 and €2002.00.
INVOICES accepts an interpreted value between €1,980.00 and €2020.00.
Relative tolerance is designed to deal with smaller amount totals, while absolute tolerance is designed more for larger amount totals.
DoLineItemRowTotalValidation must be enabled in order to use this setting.
Valid values
A percentage in decimal format.
Do not set this setting to 0.00. Comparing floating
point (double) numbers would create a problem in that case. Floating point math
is not exact.
Simple values like 0.2 cannot be precisely
represented using binary floating point numbers. If you do a calculation and
then compare the results against some expected value, it is highly unlikely
that you will get exactly the intended result. The problem is due to the way a
double/float value is represented in memory.
For very low tolerance, specify
LineItemRowTotalRelativeTolerance=0.01 instead.