GE 90-30/20/Micro Universal Remote User Manual


 
4-94 Series 90-30/20/Micro Programmable Controllers Reference Manual September 1998 GFK-0467K
4
Section 8: Conversion Functions
Use the conversion functions to convert a data item from one number type to another. Many
programming instructions, such as math functions, must be used with data of one type. This section
describes the following conversion functions:
Abbreviation Function Description Page
BCD-4 Convert to BCD-4 Convert a signed integer to 4-digit BCD
format.
4-95
INT Convert to Signed Integer Convert BCD-4 or REAL to signed integer. 4-97
DINT Convert to Double Precision
Signed Integer
Convert REAL to double precision signed
integer format.
4-99
REAL Convert to REAL Convert INT, DINT, BCD-4, or WORD to
REAL.
4-101
WORD Convert to WORD Convert REAL to WORD format. 4-103
TRUN Truncate Round the real number toward zero. 4-105