I already have a hack:
/** Shorter round for the logs */
val Double.str: String
get() = "%.3f".format(this)
But that has to be manually inserted into all of my LOG.info { "It went ${distance.str}" }
statements. I'd prefer to be able to set the (float and decimal) significant digits globally. Is there any way to make this happen?