Liam Clarke wrote:
> Hi all,
>
> I was recently playing with the problem of implementing the floor()
> functionality, modulo being specifically mentioned in the briefing.
>
>   
you could convert the float to a string, split on the decimal point, and 
convert the left-hand side
back to an integer :)
or you could just convert the float to an integer.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to