STRFORMAT$
|
Syntax: |
STRFORMAT$(<Value>,<Format>)
|
||||||
|
|
|
||||||
|
Meaning: |
Formats a numeric value as string in the
format <Format>. <Format> specifies the format of the
string. Each number must be represented by a character # or $. With the
character $ leading zeros are suppressed. The dot is used as decimal point.
In the format string <Format> any characters are allowed in addition to
$, # and the decimal point. STRFORMAT$ returns a string that contains as
many characters as <Format>. If <Format> is too small for the
number <Value>, leading numbers are truncated. If <Format> is invalid, STRFORMAT$
returns the empty string ²². The variable OK
then contains one of the following error numbers:
|
||||||
|
Parameter: |
|
||||||
|
Sample: |
|
||||||
|
See also: |
|