.NET Fiddle

CSharp · Console

/Program.cs

using System;
					
var a = 0.1m;
var b = 0.2m;

Console.WriteLine(a + b);
;