1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/DOUBLE_111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

35 lines
1.1 KiB
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:12:53}}
[[DOUBLE]] type floating point numerical values use 8 bytes per value.
{{PageSyntax}}
: [[DIM]] {{Parameter|variable}} [[AS]] [[DOUBLE]]
{{PageDescription}}
* Literal or variable values can range up to 15 decimal point places.
* The variable suffix type is '''#'''.
* Use DOUBLE and [[_FLOAT]] variables sparingly as 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]].
* '''When a variable has not been defined or has no type suffix, the value defaults to [[SINGLE]].'''
* '''Warning: QBasic keyword names cannot be used as numerical variable names with or without the type suffix.'''
==QBasic/QuickBASIC==
* Results of mathematical calculations may be approximate or slow in QuickBASIC 4.5.
{{PageSeeAlso}}
* [[DIM]], [[DEFDBL]]
* [[MKD$]], [[CVD]]
* [[SINGLE]], [[_FLOAT]]
* [[LEN]]
* [[Variable Types]]
{{PageNavigation}}