NumToStr
Use this function to convert a numeric value to a character string.
You may find this function useful for comparison purposes. For example, suppose a complete account number in your system appears in the format A11234. You can use the NumToStr function to change any numeric values to character strings, so that they can be compared correctly.
The value provided by your system depends on the format of the source item being converted:
Format of Source | Value of TargetSymName | Example |
---|---|---|
Character string | Returns the source string |
|
Numeric and an integer | Character string representing the number | If Source is 1234, TargetSymName becomes the character string "1234". |
Numeric but not an integer | Number | No specific number of decimals. No zero-padding. |
where:
- SymName is a symbol name.
- Num is a value.