float problem

Indigo Moon Man indigomoon at bonbon.net
Wed Sep 24 07:34:00 CEST 2003


for the formula J = I / (12 * 100)  where I is low (like about 8 to 15) I
get 0.  But when I do it with a calculator it's actually .008333 for example
if I were 10.  Is there a way I can get python to recognize the .008333
instead of it just giving me 0?

TIA for your help!

-- 
Audio Bible Online:
http://www.audio-bible.com/






More information about the Python-list mailing list