Encog.Util.Format.FormatDouble C# (CSharp) Method

FormatDouble() public static method

Format a double.
public static FormatDouble ( double d, int i ) : String
d double The double value to format.
i int The number of decimal places.
return String
        public static String FormatDouble(double d, int i)
        {
            return d.ToString("N" + i);
        }