using System; public class Test { public static void Main() { double x = 2.37/10.0; double y = 0.237; byte[] x_byte= BitConverter.GetBytes(x); byte[] y_byte= BitConverter.GetBytes(y); Console.WriteLine("operating: {0}",string.Join(" ",x_byte)); Console.WriteLine("numbering: {0}",string.Join(" ",y_byte)); Console.WriteLine("Are they equal? {0}", x_byte.SequenceEqual(y_byte)); // your code goes here } }