Table Of Contents

Decrement (Clock-Driven Logic)

Last Modified: December 6, 2016

Subtracts 1 from the input value.

connector_pane_image
datatype_icon

x

The value to decrement by 1. x supports the following data types: scalar numbers, enumerated type values, an array or cluster of numbers, and an array of clusters of numbers.

datatype_icon

x - 1

The result of the decrement operation.

Behavior for Enum Data

All arithmetic functions except Increment and Decrement treat enum data the same as an unsigned integer. Decrement changes the first enumerated value to the last value.

Where This Node Can Run:

Desktop OS: none

FPGA: All devices


Recently Viewed Topics