hi guys, is there any method similar to `fun F...
# stdlib
a
hi guys, is there any method similar to
fun Float.toString(precision: Int) = java.lang.String.format("%.${precision}f", this)
for formatting floats and doubles to string with a given precision? If not, I will suggest it for addition simple smile (edited) (p.s. I taken that method from a stackoverflow answer by @abreslav (http://stackoverflow.com/a/23088000/2329437)