5.35754303593134E+300 to 53575430359313400000000000000000000 ... 000000000
Can anyone do this because this number is very large?
I have tried:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
double s = double.Parse((System.Math.Pow(2, 999)).ToString(), System.Globalization.NumberStyles.Float);
Console.WriteLine("value={0}", s);
Console.ReadKey();
}
}
}
` tags in code, just indent it all by four spaces and the built-in formatting will detect it as code. – Chris Mantle Apr 29 '15 at 10:28