Hi Gray- No it's not a bug of Magnolia. Or a bug at all for that matter. I think what is happening here is we need some baseline for Doubles. A uniformity for all doubles so that we don't find ourselves in those weird overflow cases. You know there is a fix amount of space to store the value. Consider the scenario where you have a double value that has many digits to the right of the decimal and then it gets used in a calculation with another double which has many digits to the left of the decimal.
I don't think the intention of Jackrabbit was to be used for storing scientific data which needs lots of precision. Probably the most common use case may be to store price data. For example, an app which stores product data for a retailer. So there a precision of 2 is exactly what you need. Perhaps 3 digits was chosen in the end for those fractions of a cent that might pop up here and there. I can only speculate. I've tried my best to find an exact answer for you, but I came up short on that. All I can think to do at this point is for you to store each data point as two long values. One long for the left and one for the right. You can hide these details from the users if need be. HTH richg -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=fb6148c5-9687-45db-9f07-8570c9a8c364 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
