Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Convert numeric data into strings.

 

Syntax

 

s = MKS$(numeric_expression [, numeric_expression [, ...]])

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

numeric_expression

Number

No

Any numeric expression





 

Remarks

 

The MKx functions return the binary representations of a number as a string value.

 

Function   Result string    Numeric expression

MKBYT$     1-byte string    Byte

MKCUR$     8-byte string    Currency

MKCUX$     8-byte string    Extended-currency

MKD$       8-byte string    Double-precision

MKDWD$     4-byte string    Double-word

MKE$      10-byte string    Extended-precision

MKNumber$ 10-byte string    Extended-precision

MKI$       2-byte string    Integer

MKL$       4-byte string    Long-integer

MKQ$       8-byte string    Quad-integer

MKS$       4-byte string    Single-precision

MKWRD$     2-byte string    Word

 

Restrictions

 

See also

 

MKBYT$, MKCUR$, MKCUX$, MKD$, MKDWD$, MKE$, MKI$, MKL$, MKQ$, MKS$, MKWRD$

 

Examples

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software