AsLong
Description
Converts a character sequence to a long value and returns the long value in a new column.
Numbers after a decimal point are truncated.
This function does not accept null values in arguments.
Use
- Argument:
- Select an argument. (String)
- Locale:
- Enter a character to be used as decimal point.
- Example: . or ,
- List of language tags.
- Enter a character to be used as decimal point.
- Output field:
- Enter an output field name.
Example
String value | AsLong() returns |
---|---|
"5" | 5 |
"5.9" | 5 |
"73485.2435345" | 73485 |
Hero Platform_ Example
An example of this function can be found in Hero Platform_'s library of examples.
Download the example titled "function_AsLong" to see an example of this function.