This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

rounding error
#1
Hi Admin,

It's acceptable the Logic Machine has to store values with a rounding error.  It's more worrying when stored values with rounded errors cannot returned back to the KNX bus with the correct value.

For example,  a floating point number of 103 is stored as 102.96.  I use rounding function to restore the value back to 103,  now if I use grp.response or grp.write to return 103 back to KNX  bus,  I see in the ETS group monitor 102.96.  Even if I try,  grp.repsonse('1/1/1',103), then the ETS monitor displays 102.96

Can you please correct the grp.response and grp.write functions?


Thanks,


Roger
Reply


Messages In This Thread
rounding error - by rocfusion - 22.07.2017, 21:22
RE: rounding error - by admin - 24.07.2017, 06:01
RE: rounding error - by rocfusion - 24.07.2017, 08:39
RE: rounding error - by admin - 24.07.2017, 08:52
RE: rounding error - by buuuudzik - 24.07.2017, 09:49

Forum Jump: