Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Kotlin
val i = s.toIntOrNull()

i is null if s can not be converted to an integer
val i = s.toInt()
I : Integer := Integer'Value (s);

New implementation...