Truncates the decimal places, e.g. 3.1 becomes 3, -3.1 becomes -3)
For positive values the function Truncate and Floor deliver identical values.
There is a difference for negative value. Truncate simply cuts the decimals and Floor calculates the next lower integer value.
Fig. 76. Wire-sheet Icon
Fig. 77. Property Sheet
Fig. 78. Slot Sheet
Table 53. Inputs
Inputs |
Type |
Functional description |
In |
numeric |
Analog input value |
In Enabled |
boolean |
If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”. |
Table 54. Outputs
Outputs |
Type |
Functional description |
Out |
numeric |
One analog output = truncated value |
No parameters.