mycroes / Sally7

C# implementation of Siemens S7 connections with a focus on performance
MIT License
57 stars 23 forks source link

Hotfix conversion of float/double #49

Closed mycroes closed 7 months ago

mycroes commented 8 months ago

Fix conversion of single float/double values to their PLC format. The assumption that the runtime would treat Action<float> similarly to Action<int> is apparently invalid, as can also be witnessed from SharpLab.