title: how to round a number in kotlin
body: <p>I used String.format() to round to the third decimal place. However this didn't work and I solved it using DecimalFormat. Is there anything I implemented wrong?</p>
  <pre><code>val value = 36.295f
  Timber.e(&quot;format: ${&quot;%.2f&quot;.format(value)}&quot;)
  </code></pre>
  <p>expect: 36.30 but result: 36.29</p>