[Numpy-discussion] division operator

Alex Ter-Sarkissov ater1980 at gmail.com
Mon Apr 4 06:49:54 EDT 2011


I have 2 variables, say var1=10,var2=100. To divide I do either
divide(float(var1),float(var2)) or simply float(var1)/float(var2). I'm just
wondering if there's a smarter way of doing this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110404/d56708c3/attachment.html>


More information about the NumPy-Discussion mailing list