Middle three digits: Difference between revisions
Content deleted Content added
Line 2,714: | Line 2,714: | ||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |
||
<lang |
<lang scala> |
||
fun middleThree(x: Int): Int? { |
fun middleThree(x: Int): Int? { |
||
val s = Math.abs(x).toString() |
val s = Math.abs(x).toString() |