int

open val int: Int(source)

Gets the value as an int. 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.