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.

correct math for energy metering
#5
Daniel,

big thanks, I did so. But I receive only integer part of whole meaning. But customer wants see also data after point - I need as example have 243.1. But I don't know how correctly rearrange received 2341 int32 type to 234.1 (float32??). If I just divide 2341 /10 I have only integer part = 234 (customer wants see 234.1 Sad )

In simple math foolish question, but not so easy with datatype formats for me Sad

Alex
Reply


Messages In This Thread
correct math for energy metering - by AlexLV - 24.06.2019, 20:42
RE: correct math for energy metering - by AlexLV - 25.06.2019, 19:11

Forum Jump: