Subject RE: [firebird-support] Re: problem with round
Author Steffen Heil
Hi

> Of course I know. I know that the variable where the result is assigned to
is a floating point variable, so it makes no sense to convert the result to
integer.

This is wrong.
You are dividing by some integer and therefor your result [of the division]
is also some integer. No convertions so far.

THEN you assign to some float. Therefor your intermediate integer result
gets converted to float.

It is just doing, what you tell it to do.

cu
Steffen


Have a look at some books about types. For example:
http://www.amazon.com/exec/obidos/tg/detail/-/0262162091