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?

I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...

So, I'm relatively new to programming and I'm working on a program that allows for input of grades, course hours, and then calculates GPA based on that. But, I'm going ...