string formatting using % code example Example: string format fun Double.format(digits: Int) = "%.${digits}f".format(this)