Esempio n. 1
0
 /// <summary>
 /// Converts a double to S7 Real (4 bytes)
 /// </summary>
 public static byte[] ToByteArray(double value) => Real.ToByteArray((float)value);
Esempio n. 2
0
 /// <summary>
 /// Converts a double to S7 Real (4 bytes)
 /// </summary>
 public static byte[] ToByteArray(float value) => Real.ToByteArray(value);