Closed mumpf closed 10 months ago
Just a remark: I tested the fix also with negative numbers and also the reverse function float16FromPayload (in case there is this error, too). Everything works now fine!
After additional tests there were still some rounding problems. Improved correction and did a test with full numeric range of DPT9. Finally, just value 0 results in a payload 0.
Please merge this fix. Thanks. Waldemar