Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

clarification on priceAsDecimal? #262

Open
tranclix opened this issue Mar 15, 2019 · 0 comments
Open

clarification on priceAsDecimal? #262

tranclix opened this issue Mar 15, 2019 · 0 comments

Comments

@tranclix
Copy link

What is the format of the value in the priceAsDecimal field? Does it have the currency symbol or currency type in before the numbers? Or is it a simple float type value. Or is it price in micro format (divide by 1,000,000 to get the actual price).

Basically, I need to get prices for two different in-app items, subtract them and then show the subtracted amount as "You Save: USD XX.XX" where XX.XX is the price the user saves if he buys one item over another. For this, I need to the what kind of value is returned in this field.

Any examples or screenshots will be helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant