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.

2 byte floating compare
#2
You don't need to call tonumber, the result of event.getvalue and grp.getvalue is already a number if proper data type is set.
Code:
value = event.getvalue()
setpoint = grp.getvalue('20/0/5')
Reply


Messages In This Thread
2 byte floating compare - by AlexLV - 08.11.2018, 21:32
RE: 2 byte floating compare - by admin - 09.11.2018, 07:38

Forum Jump: