Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!support1.mathforum.org!not-for-mail
From: Yumnam Kirani Singh <kirani.singh@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Displaying large Integers
Date: Tue, 19 Feb 2008 00:19:37 EST
Organization: The Math Forum
Lines: 3
Message-ID: <10713287.1203398407641.JavaMail.jakarta@nitrogen.mathforum.org>
References: <fpderh$gd7$1@fred.mathworks.com>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1203398407 26275 144.118.30.135 (19 Feb 2008 05:20:07 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Tue, 19 Feb 2008 05:20:07 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:452279


Another alternative is using sprintf as
>>sprintf('%f', x)
But the thing is matlab cannot display more than 17 decimal digits. All other digits after 17th digit will be displayed as zero. You have to write your own code to dispaly large numbers if the number is more than a 17 digit number.