Decimal
using System;
/* A decimal value represents 128-bit precise values with 28-29 significant digits*/
public class DecimalExample
{
static void Main(String[] args)
{
decimal x = 1.234m, y = 1.5m;
Console.WriteLine(x.GetType());
decimal z = x + y;
Console.WriteLine("Sum = " + z);
Console.ReadLine();
}
}
Output:
System.Decimal
Sum = 2.734