Subject Re: [firebird-support] Divide of an integer values
Author Nick Upson
this is normal for integer arithmetic, compare with the output from

select 10.0 / 3.0 from rdb$database

2008/7/28 mariuszstefaniak <mariuszstefaniak@...>

> I'm executing query
> select 10 / 3 from rdb$database
>
> On results I have 3 instead 3,3333333333
> Without values after comma!
>
> Whats going on? Is this correct? How to force on server normal division
> operation?
>
> I have Firebird 2.1.1 and I'm connected to the server by IBExpert.
>
> regards
> MS
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]