class MainClass { public static void Main() { System.Console.WriteLine("10f / 3f = " + 10f / 3f); float floatValue1 = 10f; float floatValue2 = 3f; System.Console.WriteLine("floatValue1 / floatValue2 = " + floatValue1 / floatValue2); } }
10f / 3f = 3.333333 floatValue1 / floatValue2 = 3.333333