Re: [OPEN-ILS-DEV] SPAM: PATCH: storing numbers as strings in jsonObjects

2008-01-07 Thread Bill Erickson

Mike Rylander wrote:

On Dec 22, 2007 11:44 PM, Scott McKellar [EMAIL PROTECTED] wrote:
  

These patches are the culmination of several postings on this subject.
The overall effect is to store numbers in jsonObjects as strings,
rather than as doubles, in order to avoid needless loss of precision
in translating back and forth between text and floating point
representations.



This compiles fine in a full environment, and it's the direction we
need to go, so these are applied.  We will keep a close eye on things,
but I suspect any issues will show up right away, and should be easy
to spot with high enough logging.

Thanks for all the work on this, Scott.  It's been nagging me, and I
think this will be a great benefit in the long run.
  


I'd just like to echo Mike's thanks.  We really appreciate the hard work 
and good code, Scott.


-bill


--
Bill Erickson
| VP, Software Development  Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: [EMAIL PROTECTED]
| web: http://esilibrary.com



Re: [OPEN-ILS-DEV] SPAM: PATCH: storing numbers as strings in jsonObjects

2008-01-05 Thread Mike Rylander
On Dec 22, 2007 11:44 PM, Scott McKellar [EMAIL PROTECTED] wrote:
 These patches are the culmination of several postings on this subject.
 The overall effect is to store numbers in jsonObjects as strings,
 rather than as doubles, in order to avoid needless loss of precision
 in translating back and forth between text and floating point
 representations.

This compiles fine in a full environment, and it's the direction we
need to go, so these are applied.  We will keep a close eye on things,
but I suspect any issues will show up right away, and should be easy
to spot with high enough logging.

Thanks for all the work on this, Scott.  It's been nagging me, and I
think this will be a great benefit in the long run.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  [EMAIL PROTECTED]
 | web:  http://www.esilibrary.com