SINGLE

From QB64 Wiki

Revision as of 18:54, 21 August 2011 by Clippy (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SINGLE variables are 4 byte floating decimal point numerical values.


Syntax:

DIM variable AS SINGLE


Description:

  • Values can range up to 7 digits. Decimal point accuracy depends on whole value places taken.
  • Single is the default variable type assigned to undefined variables.
  • Variable suffix type designation is !
  • Values returned may be expressed using exponential or scientific notation using E for SINGLE or D for DOUBLE precision.
  • Floating decimal point numerical values cannot be _UNSIGNED!
  • Values can be converted to 4 byte ASCII string values using _MKS$ and back with _CVS.


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page