I'm sorry....but I have to express my feelings (at least according to my therapist)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
.
But am I the only one that finds this kind of behaviour really unacceptable.
Different SQL-backend databases offers us a huge amount of possibilities concerning dataprovider types. Most of them we really don't care about. Servoy has simplified (thank god) this into 5 usable dataprovider types.
BUT I really find it unacceptable that whenever I fill in 1,34 into a number field that the database invents 23 extra digits to generate an approximation of the value 1,34 when the value is entered manually and is exact (of course it's acceptable when it IS an approximation due to a division).
You
cannot explain to a client who is making an invoice that the values the client fill in are converted to an approximation. Furthermore you could have a scientific customer that really find it's important what values are stored in the decimals and REALLY don't want any approximations.
I'm convinced that for calculations the aprroximation will just work out fine. But the users who are filling in values into the databases....you cannot invent a good explanation for this. The users fill in a exact value...and that value should not be approximated.
We could all invent work-arounds for this, we could convert to strings or we could use 2 integers (before and after the comma) and then make a calculation showing everything correctly. But they are workarounds....and I hate workarounds....it reminds me too much of certain other products
![Razz :P](./images/smilies/icon_razz.gif)
.
I don't know if it's possible or not...but it would really nice (and it would solve all the problems in my view) if we could fill in the amount of decimals in the dataprovider menu....for example:
amount is a
number with
2 decimals.
weight is a
number with
3 decimals.
I hope y'all don't mind me expressing myself
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)