Hi shafter111,
If you are dividing an integer by some other number and you want the quotient to be a float, you need to cast the integer to a float. In other words:
a, b = 8, 3
temp = ((a-b)/a)*100 # Gives you zero
While:
a, b = 8, 3
temp = (float(a-b)/a)*100 # Gives you 62.5
If you need greater precision than that provided by float(), look up thedecimal module in the tutorial:
Guido van Rossum's Python Tutorial
Hope that helps.