> Not accounting software I'd want to use. Math is an exact science, not something based on feelings.
On Fri, Nov 15, 2013 at 9:18 AM, Robert Newson <[email protected]> wrote: > "You just need to round at the appropriate points in your code." > > Not accounting software I'd want to use. > > B. > > > On 15 November 2013 17:00, Mark Hahn <[email protected]> wrote: > > Numbers are 100% supported in JSON and JavaScript. You would never have > a > > problem using real numbers. I don't know where you picked up that myth. > > > > BTW, It's also a myth that you can't do accounting in JS. JS number have > > 52 real bits. You just need to round at the appropriate points in your > > code. > > > > > > On Fri, Nov 15, 2013 at 8:56 AM, Nick North <[email protected]> wrote: > > > >> On 15 November 2013 16:28, Mark Hahn <[email protected]> wrote: > >> > >> > > I store the numbers as strings because I read this the proper way > for > >> > decimals. > >> > > >> > Where did you read this? That makes no sense. > >> > > >> > > >> If your numbers are going to pass through JSON and JavaScript, then I'd > say > >> it's reasonable. There are sufficient unknowns with JSON parsers and > >> serialisers and processing engines along the way that storage as strings > >> feels the safest thing to do. > >> > >> Nick > >> >
