MK$

From QB64 Wiki

Jump to: navigation, search

The _MK$ function can convert any numerical type into an ASCII STRING value that must be converted back using _CV.


Syntax:

string_value$ = _MK$(numerical_type, numerical_value)


Description:

  • The numerical type is any QB or QB64 number type including: INTEGER, LONG, SINGLE, DOUBLE, _INTEGER64, _UNSIGNED, _BYTE or _BIT.
  • The actual numerical value must match the numerical type used.
  • 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.


See also:

  • MKI$, CVI, INTEGER
  • MKL$, CVL, LONG
  • MKS$, CVS, SINGLE
  • MKD$, CVD, DOUBLE
  • MKSMBF$, CVSMBF (Microsoft Binary Format)
  • MKDMBF$, CVDMBF (Microsoft Binary Format)
  • CURRENCY



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version