locked
ProductListings - Incorrect FormattedPrice for $49.99

    Question

  • Hi,

    The FormattedPrice included in ProductListings are incorrectly formated.

    It looks like a float rounding issue, but we do not have access to the raw data from Code.

    Here is how I define it in WindowsStoreProxy.xml:

    <Product ProductId="MyProduct" ProductType="Consumable">
      <MarketData xml:lang="en-us">
        <Name>MyProduct</Name>
        <Price>49.99</Price>
        <CurrencySymbol>$</CurrencySymbol>
        <CurrencyCode>USD</CurrencyCode>
      </MarketData>
    </Product>
    

    The result in the code will be "49.990002 $"

    I just want to make sure this is going to work properly in the store. I can't just go hack the value in there. This is formatted per country and currency.

    Thanks

    Tuesday, June 3, 2014 9:46 PM

Answers