title: Android getString(): xliff format float / double
body: <p>Howto format strings with xliff using floats and doubles (decimal places)?</p>
  
  <pre><code>&lt;string name="test"&gt;Test &lt;xliff:g id="float1"&gt;%1$f&lt;/xliff:g&gt; &lt;xliff:g id="float2"&gt;%1$.2f&lt;/xliff:g&gt;&lt;/string&gt;
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>mContext.getString(R.string.test, 1.23456);
  </code></pre>