LitDev.LDMath.Truncate C# (CSharp) Method

Truncate() public static method

Get the integral part of a number.
public static Truncate ( Primitive value ) : Primitive
value Primitive The number to truncate.
return Primitive
        public static Primitive Truncate(Primitive value)
        {
            return System.Math.Truncate((decimal)value);
        }