--- title: "toString" description: "Represents the value as a string. Will succeed for any type of value." --- # toString > Represents the value as a string. Will succeed for any type of value. **This function is used by Ignition's Expression language**. ## Description ## Syntax `toString(value, [failover])` ### Parameters | Type | Parameter | Description | |---|---|---| | Object | `value` | The value to type cast. | | Object | `failover` | The failover value if type casting fails. [optional] | ### Results **String** - The value type cast as a string. ## Examples ```python title="Code Snippet" toString(1/3.0) // returns "0.3333333333333333" ``` ```python title="Code Snippet" toString({Root Container.Table.data}) //returns something like: "Dataset [150R x 3C]" ```