- From: Adrian Hope-Bailie <notifications@github.com>
- Date: Fri, 25 Nov 2016 00:18:27 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Friday, 25 November 2016 08:19:14 UTC
Representing amounts in payments as floating point numbers is generally accepted as a bad idea. Amounts should be represented as decimals. I believe the most widely used definition of a decimal type is the XML Schema Decimal Type which is used outside of XML as a way to define decimals [1]. [1] https://www.w3.org/TR/xmlschema-2/#decimal -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/browser-payment-api/issues/301#issuecomment-262902704
Received on Friday, 25 November 2016 08:19:14 UTC