SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

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