title: Formatting floating point numbers in SLF4J
body: <p>I'd like to format my doubles and floats to a certain number of decimal places with SLF4J.</p>
  
  <p>Basically, I'm looking for the equivalent of Java's <code>String.format("%.2f", floatValue)</code> in SLF4J.</p>
  
  <p>Having read through SLF4J's documentation and googling around I couldn't find a hint whether it has that feature.</p>
  
  <p>I'm using <code>slf4j-api:1.7.6</code> and <code>slf4j-jdk14:1.7.6</code></p>
  
  <p>Any help is much appreciated.</p>