W3C home > Mailing lists > Public > public-webpayments@w3.org > September 2013

canonicalizing numbers a bad idea?

From: Anders Rundgren <anders.rundgren.net@gmail.com>
Date: Sun, 8 Sep 2013 11:48:05 +0200
Message-ID: <CADEL5zurYWt_MUQcK-t+ZYfXZKviYM4QO+hN2uUAho82nMuimg@mail.gmail.com>
To: public-webpayments@w3.org
If you have looked into the JCS spec you have probably noted that I have
done nothing on numbers but rather proposed that parsers should keep a
textual copy of received values.  I just noted another reason for doing
that: in systems dealing with money  normalizing 1.00 to 1.0 would be
wrong  because the number of digits in the fraction actually holds
information about the precision.  anyway, it is the established way
expressing monetary values.


Received on Sunday, 8 September 2013 09:48:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:07:24 UTC