long

open val long: Long(source)

Gets the value as a long. Floating point values will be rounded. The value true is returned as 1, false as 0. Returns 0 if the value is null or is not a numeric value.