toLong (Conversion to large integer)
See also: toBigDecimal (Konvertierung in Große Dezimalzahl), toInteger (Conversion to large integer), toNumber (Conversion to native number), toString (Convert to a string)
Attempts to convert a given input value into a large integer of the 'Long' type.
Syntax
$toLong(any)
Parameter
Name |
Description |
any |
Any value (or object) which should be converted |
Return value
If the input value cannot be converted, nothing (null) is returned.
Examples
Syntax |
REsult |
$toLong(1234) |
Returns an object of the 'Long' type, which has the numeric value 1234 |
$toLong($input) |
Tries to convert the input value of the expression |