Re: [webpayments] Expression of monetary amounts (#40)

> different parsers may interpret certain values in different ways

I'm not sure how this could be true. Do different JSON parsers interpret integers differently? There is no precision problem that I foresee or am I missing the obvious?

> but I do think that if we use a currency code such as "USD", people will be confused if the amount is meant to be interpreted as cents

Developers using ISO8583 have managed for some decades as I say. There is a finite set of global currencies and knowing how to convert them from minor currency to a decimal if required is pretty easy to accomplish. Any new currencies like Bitcoin have to define what their minimum unit of account is and anyone using that currency can fairly be expected to need to know that.

This approach's appeal is in it's simplicity and yet interoperability and flexibility.



---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/40#issuecomment-165856127

Received on Friday, 18 December 2015 17:57:31 UTC