formatResult

fun Calculator.formatResult(value: Double, decimals: Int = 2): String