1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 08:35:52 +00:00
QB64-PE/internal/help/DOUBLE.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

28 lines
1.1 KiB
Plaintext

'''DOUBLE''' type floating point numerical values use 8 bytes per value.
{{PageSyntax}}
:: [[DIM]] ''variable'' AS DOUBLE
{{PageDescription}}
* 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 and [[_FLOAT]] 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]].
* '''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!'''
{{PageSeeAlso}}
* [[DIM]], [[DEFDBL]]
* [[MKD$]], [[CVD]]
* [[SINGLE]], [[_FLOAT]]
* [[LEN]]
* [[Variable Types]]
{{PageNavigation}}