Type conversion functions
Learn about data type conversion functions.
Some formulas require the input to be of a particular data type. If you find that you want to pass a value to the function, but it is of the wrong data type, you can convert it using a conversion formula.
The following are the conversion formulas:
Function | Description | Examples |
---|---|---|
|
Returns the input as a boolean data type ( |
|
|
Accepts a date represented as an integer or text string, and a second string parameter that can include strptime date formatting elements. Replaces all the valid strptime date formatting elements with their string counterparts and returns the result. Does not accept epoch formatted dates as input. |
|
|
Returns the input as a double data type. |
|
|
Returns the input as an integer. |
|
|
Returns the input as a text string. To convert a date data type to a string data type, specify the date format you want to use in the second argument (for example, |
|