Single Data Type

Holds signed 32-bit (4-byte) IEEE floating-point values in the range −3.4028235E+38 to −1.401298E−45 for negative values and 1.401298E−45 to 3.4028235E+38 for positive values.

Remarks

Single is short for "single-precision floating-point". As the name implies, Single is half the size of Double and one-fourth the size of Quad.

Precision
Be aware that floating-point data types are incapable of representing many values exactly. Operations such as comparisons can produce unexpected results. See Troubleshooting Data Types for details.
Space efficiency
You can use Single in situations where the greater precision of Double is unnecessary. In some cases, the ViviFire runtime may be able to pack your data more efficiently and reduce memory consumption.
Default value
When you declare a variable of type Single and leave it uninitialized,, its value defaults to zero (0.0).
Coercion
Single widens to Double, Real, or Quad without any risk of overflow.
Trailing zeros
The floating-point data types have no internal means of representing trailing 0 characters following the decimal point. This means that numbers such as 1.4200 and 1.42 represent the same value. If you must display trailing zeros, the number will need to be formatted.
Type characters
Single has no type character.

Examples

Dim foo As Single