bcd_to_sint/int/dint (Function) |
Top Previous Next |
The "bcd_to_xxx" function operates on the SINT, INT, and DINT data types. It will convert a BCD-packed value into its binary representation.
Input: in : DINT/INT/SINT The BCD-packed value to convert.
Returns: DINT/INT/SINT The resulting binary value.
Declaration:
FUNCTION bcd_to_dint : DINT;
Example: INCLUDE rtcu.inc |