[Tutor] Range of float value
Johan Geldenhuys
johan at accesstel.co.za
Thu Feb 8 14:43:56 CET 2007
Hi all,
I have a value that ranges between 48.01 and 48.57. a Float value in other
words.
I want to look at changes in the value. If my normal range is between 48.35
and 48.45, how will I identify the value below 48.35 and above 48.45?
Something I tried was:
for a in range(48.35, 48.45):
print a
It gives me a value of 100.
Is it possible to get a range of a float value?
Thanks
Johan
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 2007/02/07
03:33 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070208/b7d2a61f/attachment.htm
More information about the Tutor
mailing list