stdlib
1.0
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JVM
stdlib
/
kotlin
/
Number
/
toLong
to
Long
JVM
abstract
fun
toLong
(
)
:
Long
(
source
)
Returns the value of this number as a
Long
, which may involve rounding or truncation.
Since Kotlin
1.0