Type-Extensions Extended functionality for types in C# Truncate Works with the following type: decimal, decimal?, double, double? Example decimal value = 123.4567890; value = value.Trunc(4); Console.WriteLine(value); Value is 123.4567