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

I'm 100% in agreement with dlongley's comment above - use a string that represents an arbitrary precision...

If we want to constrain the string in our spec, we could consider using a RegEx (in the spec) to be unequivocal.
i.e. (\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)

Or something simpler :-).

Discussion of binary formats (long, double, etc.) is a very slippery slope.

Reply to this email directly or view it on GitHub:

Received on Wednesday, 16 December 2015 16:50:41 UTC