Appearance
Double → Int
Converts a double signal to an integer using a selectable rounding rule (truncate, round-to-nearest, floor, or ceil).
Category: Math
Ports
| Name | Direction | Value type | Notes |
|---|---|---|---|
in | input | double | |
out | output | int |
Parameters
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
mode | Mode | enum (Truncate (toward 0) / Round (nearest) / Floor / Ceil) | 0 | — | Rounding rule applied when converting the double input to an integer output. |
