Compares two single precision, floating point numbers within a margin of error
Namespace: HelperFunctions
Delphi |
function FloatEquals( const Value1, Value2: Single; const Error: Single = FloatError): Boolean; overload; |
Parameters
Value1
Type: Single
Value2
Type: Single
Error
Type: Single
Type: Boolean
Reference |