Str
- Last UpdatedOct 29, 2026
- 1 minute read
Converts a number into a string.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
Str |
String |
Synchronous |
Yes |
Supported |
Supported |
Supported (see Notes below) |
Supported |
Supported |
Syntax
Str(numValue)
numValue
Integer or float tag containing a number to be converted to a string.
Returned value
Returns the string, in a float format.
Notes
When this function is used in a project running on IoT View, it supports only single-byte Unicode characters (up to U+007F). Multi-byte Unicode characters are not supported at this time.
Examples
|
Tag Name |
Expression |
|---|---|
|
Tag |
Str(321654.987) // Returned value = "321654.987" |
|
Tag |
Str(5.65896246) // Returned value = "5.658962" |