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/MKD$.txt

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}}