• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 1

Kotlin: toIntOrNull

How do I use the kotlin toIntOrNull function? All the docs, etc. don't help me. Quick reference to toIntOrNull: http://docs.w3cub.com/kotlin/api/latest/jvm/stdlib/kotlin.text/to-int-or-null/ Thanks!

tohowusekotlintointornull
23rd Aug 2018, 3:24 PM
Paul Grasser
Paul Grasser - avatar
2 odpowiedzi
+ 5
Example: https://code.sololearn.com/cShvF4CciWA1/?ref=app
23rd Aug 2018, 6:06 PM
Shimon
Shimon - avatar
+ 2
Thanks!!
23rd Aug 2018, 7:11 PM
Paul Grasser
Paul Grasser - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Is this realistic enough?
1 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Need friends
0 Votes
Can someone explain inline and block elements please
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
Python
1 Votes
How do you print inputs
0 Votes