title: Android: String format with Double value
body: <p>I need to create a String using the Formater to display some double float values.  I'm not clear on how to code it.  Here is what I have:</p>
  
  <pre><code>Double dWeightInKg = 100;
  Double dWeightInLbs = 220:
  String headerText = String.format("%.0f kg / %.0f lbs",Double.toString(dWeightInKg) , Double.toString(dWeightInLbs));
  </code></pre>
  
  <p>I'm looking for the following output:</p>
  
  <pre><code>100 kg / 220 lbs
  </code></pre>
  
  <p>I get a runtimeexception - badArgumentType(formater) on my String.format line.</p>