← Docs
kotlin-stdlib / kotlin.js / parseInt

parseInt

JS
1.1
fun parseInt ( s : String ) : Int
(source)
Deprecated: Use toInt() instead.
fun parseInt ( s : String , radix : Int = definedExternally ) : Int
(source)
Deprecated: Use toInt(radix) instead.
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 .