Math.Abs returns the absolute value of a Decimal number.
using System; public class MainClass{ public static void Main(){ decimal[] decimals = { Decimal.MaxValue, 12.45M, 0M, -19.69M, Decimal.MinValue }; foreach (decimal value in decimals) Console.WriteLine("Abs({0}) = {1}", value, Math.Abs(value)); } }