```fun main() { val number = 0.001 * 0.001 ...
# stdlib
d
Copy code
fun main() {
    val number = 0.001 * 0.001
    println(number.toString())
    // prints 1.0E-6
}
How can I make it print “0.00001” ?
e
on JVM,
Copy code
"%f".format(number)
would work
1
other platforms have ways, but there's nothing common in stdlib