raise an error?
from the xul client pov, i forbid such feeding by not allowing decimal
part longer than scale.
the pb is more sensitive in procedures, when you start to round up/down
rounded up/down computed values, you end up with results that will seem
suspicious to the vigilant accountant. :)
On Fri, 2006-03-31 at 07:43 +0000, Reinhard Mueller wrote:
> Reinhard Mueller <reinhard@gnue.org> added the comment:
>
> Am Freitag, den 31.03.2006, 06:33 +0000 schrieb Malek:
> > > and would probably even round numbers to the allowed fractional part
> > i believe this one should be avoided, you can mask user/input errors by
> > rounding.
>
> So what would you propose if a property defined as number(3,1) is fed
> with 12,34 ?
> What if it is fed with 12,000000001 ?
>
> _________________________________________________________
> GNUe issue tracker <gnue_issue_tracker@gnuenterprise.org>
> <http://www.gnuenterprise.org/roundup/gnue/issue95>
> _________________________________________________________ |