Friday, October 5, 2007

How to work with real type

How to work with real type

To work with real type

Step 1

Description:

A real type defines a set of numbers that can be represented with floating-point notation.

Declaration:

Type Range

Real 48 2.9 x 10^–39 .. 1.7 x 10^38

Single 1.5 x 10^–45 .. 3.4 x 10^38

Double 5.0 x 10^–324 .. 1.7 x 10^308

Extended 3.6 x 10^–4951 .. 1.1 x 10^4932

Comp –2^63+1 .. 2^63 –1

Currency –922337203685477.5808.. 922337203685477.5807

Example:

var

a:double;

b:single;

No comments: