Extended

From SCAR Divi Manual
Jump to: navigation, search

Availability

SCAR Divi 3.00 > Current

Description

Extended is a basic type which can hold a very large floating point value, taking up 80 bits in the memory.

Example

var
  Value: Extended;

begin
  Value := 5.2 + 6.2;
  if Value = 11.4 then
    WriteLn('5.2 + 6.2 = 11.4')
  else
    WriteLn('5.2 + 6.2 <> 11.4');
end.

Output:

5.2 + 6.2 = 11.4

See Also