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