Commatizing numbers: Difference between revisions

→‎{{header|Kotlin}}: Correction to allow for start index not being 0
(Added Kotlin)
(→‎{{header|Kotlin}}: Correction to allow for start index not being 0)
Line 438:
ip += "." + dp
}
return this.take(startIndex) + this.drop(startIndex).replaceFirst(m.value, ip)
}
 
9,485

edits