float problem

Indigo Moon Man indigomoon at bonbon.net
Wed Sep 24 03:00:48 EDT 2003


Gary Herron <gherron at islandtraining.com> spake thusly:
>
> You're getting bit by the difference between integer and float
> division.
>
> In versions of python prior to 2.3 (and in 2.3 under normal
> circumstances), division of two integers returns an integer and
> division of two floats (or a float and an integer )returns a float:
>
Great!  Thank you very much!


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






More information about the Python-list mailing list