I use the Data Type Conversion block to convert values of data type double to data type boolean.
I configure the block with the following options:
– Output data type: boolean
– Input and output to have equal: Real World Value (RWV)
– Round integer calculations toward: Nearest
I expect an input value of 0.1 to be converted to a boolean 0, but it is converted to a boolean 1.
Any value other than zero is converted to boolean 1, with any setting in the block.
Best Answer