To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
VAL$ - Converts a number into its string representation.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
VAL$
Converts a number into its string representation.
VAL$( numeric-expression )
Usage:
A$=VAL$(12345)
CREATE "DATA."&VAL$(Version)
Example:
VAL$.BAS
Description:
The returned string is in default print format, except that no trailing blanks are attached to the string and no leading blank is attached to positive numbers.
VAL$
is the opposite of the
VAL
function.
See Also:
DVAL
,
DVAL$
,
IVAL
,
IVAL$
,
NUM
,
POS
,
VAL