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