RabbitWeb DC10.70 losing precision on small values
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
Hi I've just discovered that RabbitWeb seems to be having issues displaying small values correctly on my web forms. All these comment apply to FLOAT type values. BTW, this isn't a precision problem, it's a display problem. eg: if I enter a float number on a form, and then have RabbitWeb display it, I have verified that the number is STORED correctly, but just not displayed back correctly... Here are some examples of what is entered, vs what is displayed Entered Displayed 1.0002 1.0002 OK 1.0202 1.0202 OK 0.0002 0.0 BAD 0.0202 0.020 BAD 0.099 0.09 BAD 0.09 0.0 REALLY BAD This wouldn't be too bad, HOWEVER, if you are populating a form field with the current value, then after a few submissions, small numbers all go to zero. This problem seems to only occur with numbers smaller than 0.1 Any ideas how to fix this? Phil.