Multiplying sequences with floats

Caleb Hattingh caleb.hattingh at gmail.com
Tue Mar 28 23:26:39 CEST 2006


Christoph

I understand the explanation regarding the underlying math.floor()
call.   Were I using this functionality in my code,

int(a//b)* some_list

would not be something I consider a big deal.  However, I see what
you're saying: The multiplcation by list can only work with an int, and
you have an integer number, but unfortunatly with type float.  Well, I
guess that's life :)

Again, a small cast like that is not a problem for me, so I can't
really comment on this.

Keep well
Caleb




More information about the Python-list mailing list