SciPy

scipy.special.round

scipy.special.round(x) = <ufunc 'round'>

Round to nearest integer

Returns the nearest integer to x as a double precision floating point result. If x ends in 0.5 exactly, the nearest even integer is chosen.

Previous topic

scipy.special.cosm1

Next topic

scipy.special.xlogy