You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see - if I convert read (output to shell) value "1.26935e+06" to normal number, it will be 1269350 instead of 1269349.
Using online IEEE-754 converter hex is decoded normally to 1269349.
Why is it displayed in exponential form?
The text was updated successfully, but these errors were encountered:
$ /usr/local/bin/mbpoll -t4:float -0 -B -1 -q -r 10 127.0.0.1 -p 1502 -- 1269349
Written 1 references.
$ /usr/local/bin/mbpoll -t4:float -0 -B -1 -q -r 10 127.0.0.1 -p 1502
-- Polling slave 1...
[10]: 1.26935e+06
$ /usr/local/bin/mbpoll -t4:hex -c2 -0 -B -1 -q -r 10 127.0.0.1 -p 1502
-- Polling slave 1...
[10]: 0x499A
[11]: 0xF328
As you can see - if I convert read (output to shell) value "1.26935e+06" to normal number, it will be 1269350 instead of 1269349.
Using online IEEE-754 converter hex is decoded normally to 1269349.
Why is it displayed in exponential form?
The text was updated successfully, but these errors were encountered: