whtrader Member W Join Date Aug 2006 Location KL Posts 37 Mar 19, 2007 #1 Hi all, I need help on converting a long to float. Also I find the below misleading. Is long and double the same? Pls advice. Thanks.
Hi all, I need help on converting a long to float. Also I find the below misleading. Is long and double the same? Pls advice. Thanks.
BobB Lifetime Supporting Member Join Date Jun 2002 Location Sydney Posts 4,548 Mar 20, 2007 #2 Double is 2 words - long is 4. DBL is 16 bit to 32 bit float, DBLL is 32 bit to 32 bit float. This applies to the CS1D-H. Check the help in CX-Programmer - most of it is there.
Double is 2 words - long is 4. DBL is 16 bit to 32 bit float, DBLL is 32 bit to 32 bit float. This applies to the CS1D-H. Check the help in CX-Programmer - most of it is there.