When I try to display a very small or a very big number, it shows us the number with the e notation.
How do I bypass this issue?
Things I have tried:
Console.WriteLine(Double.Parse("1E-10", System.Globalization.NumberStyles.Float));
/* System.FormatException: Input string was not in a correct format.
* at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
* at Rextester.Program.Main(String[] args)
*/
Console.WriteLine(Convert.ToString(Math.Pow(10,-10)));
// returns 1E-10
double num = Math.Pow(10,-10);
Console.WriteLine(num.ToString());
// returns 1E-10