1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 19:05:54 +00:00
QB64-PE/internal/help/MKD$.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

19 lines
719 B
Plaintext

The '''MKD$''' function converts a [[DOUBLE]] numerical value into an 8 byte [[ASCII]] [[STRING]] value.
{{PageSyntax}}
:: 8byte_string$ = MKD$(double_value)
* The double precision number value is converted to eight ASCII characters. To prove this try: PRINT MKD$(12345678).
* [[DOUBLE]] values can range up to 15 decimal point digits. Decimal point accuracy depends on whole value places taken.
* The string value can be converted back to a DOUBLE numerical value using [[CVD]].
* [[DOUBLE]] numerical variable values [[PUT]] into a [[BINARY]] file are automatically placed as an MKD$ [[ASCII]] string value.
''See also:''
* [[MKI$]], [[MKS$]], [[MKL$]]
* [[CVI]], [[CVS]], [[CVL]], [[_CV]]
{{PageNavigation}}