Single data type (LotusScript® Language)

Specifies a variable that contains a 4-byte floating-point value.

Usage

The Single suffix character for implicit data type declaration is the exclamation point (!).

Single variables are initialized to zero (0).

The range of Single values is -3.402823E+38 to 3.402823E+38, inclusive.

The smallest nonzero Single value, disregarding sign, is 1.175494351E-38.

LotusScript® aligns Single data on a 4-byte boundary. In user-defined data types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

Example