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