System.Xml.Xsl.Runtime.XsltLibrary.FormatNumberStatic C# (CSharp) Method

FormatNumberStatic() public method

public FormatNumberStatic ( double value, double decimalFormatterIndex ) : string
value double
decimalFormatterIndex double
return string
        public string FormatNumberStatic(double value, double decimalFormatterIndex)
        {
            int idx = (int)decimalFormatterIndex;
            Debug.Assert(0 <= idx && idx < _decimalFormatters.Count, "Value of decimalFormatterIndex is out of range");
            return _decimalFormatters[idx].Format(value);
        }