FBWiki : KeyPgSingle

FBWiki :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

SINGLE


Standard data type: 32 bit floating point

Syntax:
dim variable as Single

Description:
Single is a 32-bit, floating point data type used to store decimal numbers. They can hold values in a range of 1.1 E-38 to 3.43 E+38. Its precision is of 6 decimal digits.

They are similar to Double data types, but less precise.

Examples:
'Example of using a single variable.

Dim a As Single
a = 1.9857665
Print a

Sleep


Differences from QB:

See also:

Back to Standard Data Types

There is one comment on this page. [Display comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0



sf.net phatcode