Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > String functions > MKx >

MKD$

Previous pageReturn to chapter overviewNext page

 

Description

 

Convert numeric data into strings.

 

Syntax

 

s = MKD$(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