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