Back to website >

Floating point number (Pascalscript)

A real type defines a set of numbers that can be displayed in floating point notation. The following table contains the ranges and storage formats of the real types defined in EULANDA®.

The Extended model offers higher accuracy.

The Currency type is a fixed-point data type that minimizes rounding errors in financial mathematical calculations. It is stored as a scaled 64-bit integer in which the four least significant digits implicitly represent four decimal places. When combined with other real types in assignments and expressions, currency values are automatically multiplied by 10000.

Single1,5x10-45 .. 3,4x10387-84
Double5,0x10-324 .. 1,7x1030815-168
Extended3,6x10-4951 .. 1,1x10493210-2010
Currency-922337203685477,5808.. 922337203685477,580719-208