Str$(Function)
Converts a numeric value into a numeric character string.
Parameters
<Expression>
|
The expression to be converted (integer type or double-precision type)
|
Return Value
Returns the value of the character string.
The content of the value is the converted character string.
Description
The numeric value specified by the <Expression> is converted into a character string.A numeric value cannot be directly assigned to a character variable. It is assigned to a character variable after it has been converted to a number in character notation using the Str$ function.
There is the reverse function val in relation to Str$ where the character string of the number is converted to a numeric value.
Example
Convert the measurement results of each processing unit to character strings.
A#=10
B#=11
Print Str$(A#)+Str$(B#)
The results are as follows:
1011