.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

multiply large numbers algorithm and value display in digit in c# (Very Urgent)

Posted By: Shashi Ray     Posted Date: September 03, 2011    Points:5   Category :C#
multiply large numbers algorithm and value display in digit in c#

Ex.: 999999999999999999999999999999999999999999999999999 * 99999999999999999999999999999999999999999999999999999999 = 'Only Digit vlue Display,

not display scientific value(Exponential value)

Responses
Author: Narayanan             
Posted Date: September 04, 2011     Points: 20   

Hi,
http://blog.gadodia.net/handling-very-large-numbers-in-net/



Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
Author: Gowthammanju             
Posted Date: September 05, 2011     Points: 20   

use below code as


using System;
using System.Numerics;

namespace ssg
{
class Program
{
static void Main(string[] args)
{
BigInteger n = BigInteger.Parse("99999999999999999999999999999999999999999999999999999999");
Console.WriteLine(n.ToString());
Console.ReadKey();
}
}
}


Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: September 05, 2011     Points: 20   
Author: Sasi Prabhu             
Posted Date: September 13, 2011     Points: 20   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend