SameValue

From SCAR Divi Manual
Jump to: navigation, search

Definition

function SameValue(A, B: Extended): Boolean;

Availability

SCAR Divi 3.00 > Current

Description

Returns true if 2 extended floating point values equal each other.

Example

begin
  WriteLn(SameValue(1.1, 1.1));
  WriteLn(SameValue(1.1, 1.2));
end.

Output:

1
0

See Also