- From: Adam Forsyth <notifications@github.com>
- Date: Wed, 16 Dec 2015 10:14:28 -0800
- To: WICG/paymentrequest <paymentrequest@noreply.github.com>
Received on Wednesday, 16 December 2015 18:14:56 UTC
Compare [the description](https://github.com/WICG/paymentrequest/blob/gh-pages/specs/paymentrequest.html#L525-L527): > A CurrencyAmount dictionary is used to supply monetary amounts with known precision using base-10. The value of the amount is mantissa * 10 ^ exponent. The following fields must be supplied for a CurrencyAmount to be valid: to [the example given](https://github.com/WICG/paymentrequest/blob/gh-pages/specs/paymentrequest.html#L525-L527): > The following example shows how to represent US$55.00. ``` EXAMPLE 6 { "currencyCode": "USD", "mantissa": 5500, "exponent": 2 } ``` If the value was mantissa * 10 ^ exponent, the value would be 550000 not 55.00. --- Reply to this email directly or view it on GitHub: https://github.com/WICG/paymentrequest/issues/39
Received on Wednesday, 16 December 2015 18:14:56 UTC