System.Real

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type Real = Double;

Properties

Type Visibility Source Unit Parent
type public System.pas System System

Description

Represents a double-precision floating-point value.

By default in the current implementation, the Real type is equivalent to Double and the size of Real is 8 bytes.

In old Pascal versions the size of Real was 6 bytes. You can use the {$REALCOMPATIBILITY ON} compiler directive to turn Real back into the 6-byte Real48 type.

See Also