Apr-28-2022, 04:36 PM
(Apr-28-2022, 04:28 PM)Gribouillis Wrote: You could compute once for all
mtelb, mteub = mte * 30, (mte + 1) * 30 + 5then use
if mtelb <= int(float(datalist[2])) < mteub: ...The
if float(datalist[6]) % 10 == 0is questionable because usually one does not compare equality of floating point values with 0. Is it really what you want?
Thanks for the suggestions.
In the last, I'm looking for multiples of 10. Is there a better way to evaluate that?