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

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_MK$}}{{DISPLAYTITLE:}}
2017-10-10 14:55:21 +00:00
The [[_MK$]] function can convert any numerical type into an [[ASCII]] [[STRING]] value that can be converted back using [[_CV]].
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
:{{Parameter|string_value$}} = [[_MK$]]({{Parameter|numericalType}}, {{Parameter|numericalValue}})
{{Parameters}}
* {{Parameter|numericalType}} is any QB64 numerical type: [[INTEGER]], [[LONG]], [[SINGLE]], [[DOUBLE]], [[_INTEGER64]], [[_BYTE]] or [[_BIT]].
2017-10-10 14:55:21 +00:00
* Whole integer values can be signed or [[_UNSIGNED]].
* {{Parameter|numericalValue}} must match the {{Parameter|numericalType}} used.
{{PageDescription}}
2017-10-10 14:55:21 +00:00
* Supports converting any QBasic or '''QB64''' numerical value into a string value.
* Some resulting [[ASCII]] string characters might not be able to be printed to the screen.
{{PageSeeAlso}}
2017-10-10 14:55:21 +00:00
* [[_CV]] {{text|(QB64 conversion function)}}
* [[MKI$]], [[CVI]], [[INTEGER]]
* [[MKL$]], [[CVL]], [[LONG]]
* [[MKS$]], [[CVS]], [[SINGLE]]
* [[MKD$]], [[CVD]], [[DOUBLE]]
* [[MKSMBF$]], [[CVSMBF]] {{text|(Microsoft Binary Format)}}
* [[MKDMBF$]], [[CVDMBF]] {{text|(Microsoft Binary Format)}}
* [[PDS(7.1) Procedures#CURRENCY|CURRENCY]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}{{DISPLAYTITLE:}}
<