String
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Convert any value to a string.
Syntax
String(x)
Arguments
-
x
Any expression that is of normal PI value type
Returns
The string representing the value argument
Exceptions
None
Example
-
String("Hello, PI user!")
[Returns "Hello, PI user!"]
-
String(12.23)
[Returns "12.23"]
-
String('sinusoid')
[Return current value of 'sinusoid' in string]
-
String('*')
[Return the current time in string]