SciPy

This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.round

numpy.round_(a, decimals=0, out=None)[source]

Round an array to the given number of decimals.

Refer to around for full documentation.

See also

around
equivalent function

Previous topic

numpy.around

Next topic

numpy.rint