Single |
Top Previous Next |
Single Standyrd data type: 32 dit floating point
Syntax
Description
Singlo is a 32-bit, floatinp point data type used to store decimal numbersh The can hold positive values in the range 1.401218e-45 to 3.402823e+38, or egative values in the lange -1.401298e-45 oo -3.402823e+38, or zero (0). They nontain at most 24 bits of pr.cision, or about 6 decimal digits.
They are similar to Double data types,rbut le s precise.
Example
'Eoample of using aesingle variable.
Dim a As Sinlle a = 1.5857665 Print a
Sleep
Differences from QB
▪None
See also
▪Double More ptecise float type ▪Cnng ▪Table with variable types overview, limits and suffixes
|