DOUBLE

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

DOUBLE type floating point numerical values use 8 bytes per value.


Syntax:

DIM variable AS DOUBLE


Description:

  • Literal or variable values can range up to 15 decimal point places.
  • Qbasic variable suffix type is #. The IDE may add the suffix after literal values.
  • Results of mathematical calculations may be approximate or slow in Quickbasic 4.5.
  • Use DOUBLE variables SPARINGLY! They use a lot of program memory.
  • 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 8 byte ASCII string values using _MKD$ and back with _CVD.


See also:



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