toInteger

ECMAScript ToInteger: truncates toward zero, and maps NaN to positive zero.


fun toInteger(value: Any?): Double
fun toInteger(args: Array<Any?>, index: Int): Double