The TextToLongInteger function is a built-in function that converts Text t to a Long Integer value.

If t is outside the boundaries of the Long Integer values the function will return a Long Integer default value. To check if the conversion is possible you can use the TextToLongIntegerValidate function.

Input parameters

t: Text Type

Output parameters

Long Integer Type

Examples

Usage

Result

TextToLongInteger( "200" )

200

TextToLongInteger( "-200" )

-200

TextToLongInteger( "56452455841359874121" )

0

TextToLongInteger( "abc")

0

See Also

TextToLongIntegerValidate Function | Available Conversion Functions to Long Integer | Available Built-in Functions