[Numpy-discussion] Rounding the decimal part of a real number

Alan G Isaac alan.isaac at gmail.com
Wed Apr 6 09:24:26 EDT 2011


On 4/6/2011 9:14 AM, dileep kunjaai wrote:
>   Is there any function for rounding the real number, for "n" (say) decimal places:

http://www.google.com/search?q=numpy+round
produces
http://docs.scipy.org/doc/numpy/reference/generated/numpy.round_.html

Cheers,
Alan Isaac



More information about the NumPy-Discussion mailing list