Subject | Re: [firebird-support] Re: problem with round |
---|---|
Author | Martijn Tonies |
Post date | 2004-03-08T11:24:12Z |
Well,
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> Thanks for your answer.SQL standard ;-)
>
> > Dialect 3 follows SQL rules for integer/integer division: the
> result is
> > always rounded down to an integer.
>
>
> This seems to me to be a stupid rule, because if I have a non integer
> value as result and assign this to a non integer variable, it should
> not be rounded.
>
> o.k. if I now, I can pay attention to it in my triggers, but
> nevertheless I find it a stupid rule;-)
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com