← Docs
kotlin-stdlib / kotlin / toBigInteger

toBigInteger

JVM
1.2
fun Int . toBigInteger ( ) : BigInteger
(source)

Returns the value of this Int number as a BigInteger .

JVM
1.2
fun Long . toBigInteger ( ) : BigInteger
(source)

Returns the value of this Long number as a BigInteger .

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .