toLong

fun toLong(): Long

Returns element as Long. For vector types, it will return size of the vector For String type, it will type to be parsed as integer Unsigned elements will become negative Float elements will be casted to integer

Return

Long integer or 0 if fail to convert element to long.