Java
1 System.out.println(.1 + .2); 2 3 // 0.30000000000000004
Python
1 print(.1 + .2) 2 3 # 0.30000000000000004
Ruby
1 puts 0.1 + 0.2 2 3 # 0.30000000000000004
C#
JavaScript
1 Console.WriteLine(“{0:R}”, .1 + .2); 2 3 // 0.30000000000000004
1 console.log(.1 + .2); 2 3 // 0.30000000000000004