Unit 'JsonComparer' Package
[Overview][Classes][Index] [#fcl]

TJSONComparer.Epsilon

Floating-point comparison tolerance

Declaration

Source position: jsoncomparer.pp line 48

public property TJSONComparer.Epsilon : Double
  read FEpsilon
  write FEpsilon;

Description

Epsilon specifies the tolerance used when comparing floating-point JSON numbers. Two floating-point values are considered equal if their absolute difference is less than or equal to Epsilon. The default value is 1E-8, providing reasonable precision for most JSON numeric comparisons. This property can be adjusted to accommodate different precision requirements.

See also

Compare

  

Compares two JSON data structures

create

  

Creates a new JSON comparer instance


Documentation generated on: Mar 09 2026