LineItemRowTotalAbsoluteTolerance

Description

This setting affects line item validation. It determines the specific number of monetary units that a line item row total can differ by. For example, if the setting is set to 2.0, ReadSoft Invoices accepts a variance of plus or minus 2.0 dollars/euros/kronor, etc.

For example, 100 units costing €20 = €2000. With LineItemRowTotalAbsoluteTolerance set to 1.0, ReadSoft Invoices accepts an interpreted value between €1,999.00 and €2001.00.

Absolute tolerance is designed to deal with larger amount totals, while relative tolerance is designed more for smaller amount totals.

DoLineItemRowTotalValidation must be enabled in order to use this setting.

Valid values

A monetary value.

Default value: 1.0

Note 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 LineItemRowTotalAbsoluteTolerance=0.1 instead.