> in python im doing the problem 255/494 Try this:
>>> 255.0/494.0 0.51619433198380571 >>> float(255)/float(494) 0.51619433198380571 > it keeps giving me 0 instead of .51.... > what am i doing wrong? Nothing, integer division is not wrong :) > please help me I have been looking for hours > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list