kotlin-stdlib / kotlin / Number / toLong toLong Common JVM JS Native 1.0 abstract fun toLong(): Long Returns the value of this number as a Long, which may involve rounding or truncation.