> Yes, this is my point. I am sure (without knowing the details) that > there are restrictions on what would be a valid exponent and fraction > for a decimal representation of a real number. If a number with 255 > digits is stored as text, and whether the values are handled as a > double (I think that all values are treated as doubles regardless of > whether they are integers or not), this places different restrictions > on the number length which we should allow. So, if someone types in an > exponent with 200 numbers and 55 decimal points (which we could store > as text), would be be a valid double value?
The range of double should be -1.79769313486231570E+308 to 1.79769313486231570E+308 (if using 64 bit java I assume..). There is also BigInteger / BigDecial that could be used, that supports even bigger numbers. That said, this is just what Java has to offer, what DHIS2 supports I do not know. -- Morten _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

