Difference between revisions of "Extended"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==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. ==Examp...")
 
(No difference)

Latest revision as of 13:54, 26 November 2012

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