title: How to get separate price and currency information for an in-app purchase?
body: <p>I am implementing in-app purchases for an app with support for several countries.</p>
  
  <p>The In-App Billing Version 3 API <a href="http://android-developers.blogspot.jp/2012/12/in-app-billing-version-3.html" rel="noreferrer">claims that</a>:</p>
  
  <blockquote>
    <p>No currency conversion or formatting is necessary: prices are reported
    in the user's currency and formatted according to their locale.</p>
  </blockquote>
  
  <p>This is <a href="https://developer.android.com/google/play/billing/billing_reference.html" rel="noreferrer">actually true</a>, since <code>skuGetDetails()</code> takes care of all necessary formatting. The response includes a field called <code>price</code>, which contains the</p>
  
  <blockquote>
    <p>Formatted price of the item, including its currency sign. The price does not include tax.</p>
  </blockquote>
  
  <p>However, I need the ISO 4217 currency code (retrievable if I know the store locale) and the actual non-formatted price (optimally in a float or decimal variable) so I can do further processing and analysis myself.</p>
  
  <p>Parsing the return of <code>skuGetDetails()</code> is not a reliable idea, because many countries share the same currency symbols.</p>
  
  <p><img src="https://i.stack.imgur.com/N9Az4.png" alt="Currencies"></p>
  
  <p>How can I get the ISO 4217 currency code and non-formatted price of an in-app purchase with the In-App Billing Version 3 API?</p>