System.Xml.Xsl.XsltOld.XsltCompileContext.XsltFunctionImpl.ToNumeric C# (CSharp) Method

ToNumeric() private static method

private static ToNumeric ( object argument, TypeCode typeCode ) : object
argument object
typeCode TypeCode
return object
            private static object ToNumeric(object argument, TypeCode typeCode) {
                return Convert.ChangeType(ToNumber(argument), typeCode, CultureInfo.InvariantCulture);
            }