Hi I would like to know if there is any way to obtain a float result from a division between two integers other than using "from __future__ import division"?

I am not looking for the .0 'trick'. Example 4/5.0 = 0.8.

No matter how you do it, the fraction part is the result of the remainder / divisor so still need a division!

Could fake it somewhat.
In integer
part %
----- = -------
whole 100

So could calculate a whole integer form of the remainder and stick your own decimal point as a string character!

(4 * 100) / 5 = 80

4 / 5 = 0
"0" "." "80" 0.80

I was just wondering if there was any other way other than "from __future__ import division" because further in the program I might want to have 4/5 = 0, and because of that I won't.

Is it possible to unload from __future__ import division?

hi i used this simple form which are these..but i want to protect password from oracle database if user enter wrong name and password then not login otherwise login