Back to Core Functions
round
Round to nearest integer
Syntax
Y = round(X)
Description
Rounds each element to the nearest integer.
Parameters
| Name | Description |
|---|---|
| X | Input value (scalar or NDArray) |
Returns
Rounded values