Round#

Rounds u to an integer using the chosen mode.

round · math · element by element: vectors in, vectors out

Inputs#

Port

Type

Unit

Components

u

signal

—

—

Outputs#

Port

Type

Unit

Components

y

signal

—

—

Parameters#

Param

Type

Default

Options or unit

mode

enum

"round"

round, floor, ceil, truncate