Hi All...
Im new to this forum and im not a software engineer..
However, used VEE for some years.
My problem is this:
I need to send a calculated value to the RS232..no problems there, but the calculated value. It very simple.
A number multiplyed with 10 and later on in the program divided with 10 (a number from a counter in a loop)
The result mostly gives eg 1.2, 1.3 and so on, but some times the result is 1.999999999999 and my equipment dont understand that.
i have been told its because its Reel (float) format, but it seems i cant use any other format since i have x,x..
How do i get the program to show the correct number ?
If you need more information, just tell me
Thanks
Anders
Im new to this forum and im not a software engineer..
However, used VEE for some years.
My problem is this:
I need to send a calculated value to the RS232..no problems there, but the calculated value. It very simple.
A number multiplyed with 10 and later on in the program divided with 10 (a number from a counter in a loop)
The result mostly gives eg 1.2, 1.3 and so on, but some times the result is 1.999999999999 and my equipment dont understand that.
i have been told its because its Reel (float) format, but it seems i cant use any other format since i have x,x..
How do i get the program to show the correct number ?
If you need more information, just tell me
Thanks
Anders
Regards,