Block Category: Nonlinear
Input: Scalar constants or scalar variables.
Description: The int block outputs only the integer portion of the input. The int block does not perform numerical round-off operations. Thus, an input of 2.9999 yields 2.
Label: Indicates a user-defined block label that appears when View > Block Labels is activated.
1. Integer portions of scalar inputs
Consider three scalar inputs 1.7, 2.9999, and 3.0001. These inputs are applied to the int blocks, as shown below:
The int blocks isolate and output the integer portion of the scalar inputs.