# D_TRUNC ```{index} single: D_TRUNC ``` d_trunc truncates a real to a dint 1.5 will be 1 and -1.5 will be -1 ## Interface ### Event Inputs | Name | Comment | With | | :--- | :--- | :--- | | REQ | | X | ### Event Outputs | Name | Comment | With | | :--- | :--- | :--- | | CNF | | | ### Input Vars | Name | Type | Comment | | :--- | :--- | :--- | | X | REAL | | ### Output Vars | Name | Type | Comment | | :--- | :--- | :--- | | | DINT | |