Round
=====
Rounds u to an integer using the chosen mode.
``round`` · math · element by element: vectors in, vectors out
.. raw:: html
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``u``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``mode``
- enum
- ``"round"``
- ``round``, ``floor``, ``ceil``, ``truncate``