roundingError

roundingError: number | undefined

Rounding error that should be taken into consideration when comparing numeric values. This is useful when numeric display value is rounded and displayed with less precision than actual value.

Example: entered value is 0.12 but it should match values like 0.12345. In that case roundingError can be set to 0.005 and comparison should be done in 0.115 to 0.125 range.

Defined in

Last Updated: 14 November, 2024