Long

Description

Converts the value of a string to a long.

Syntax

Long ( string )

Argument

Description

string

The string you want returned as a long


Return value

Long. Returns the contents of string as a long if it succeeds and 0 if string is not a valid number.

Examples

This expression returns 2167899876 as a long:

Long("2167899876")