AsChar()
Convert any variable type to a character string type.
Syntax
AsChar(<xVar>, [<nDecimal>]) --> cCharStr
Arguments
<xVar> --> is the expression of any variable type to convert.
<nDecimal> --> You may specify the number of decimal places if the variable is numeric. The default is 2 decimals. If the variable is not numeric this parameter is ignored.
Returns
A character string.
Description
AsChar () converts a variable or expression of any type to a string. If you wish to convert a number to a string of a specific length and number of decimal places, use the Str() function instead.
To convert a variable to a transaction number see: AsTran().
____________________________
Related Topics: