<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164042</link>
    <title>MATLAB Central Newsreader - Displaying large Integers</title>
    <description>Feed for thread: Displaying large Integers</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 19 Feb 2008 00:35:03 -0500</pubDate>
      <title>Displaying large Integers</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164042#415913</link>
      <author>Daniel </author>
      <description>I read all the formating stuff on matlabs site but cant&lt;br&gt;
figure out how to display large integers without them being&lt;br&gt;
E to the X.&lt;br&gt;
&lt;br&gt;
I need to display my data as &lt;br&gt;
&lt;br&gt;
901276736291&lt;br&gt;
&lt;br&gt;
And not as&lt;br&gt;
&lt;br&gt;
1.0e+011 * 9.01276736291000&lt;br&gt;
&lt;br&gt;
Thanks for any help in advance.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 19 Feb 2008 02:28:02 -0500</pubDate>
      <title>Re: Displaying large Integers</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164042#415924</link>
      <author>Roger Stafford</author>
      <description>"Daniel " &amp;lt;daw4888@hotmail.com&amp;gt; wrote in message &amp;lt;fpd87m$agl&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I read all the formating stuff on matlabs site but cant&lt;br&gt;
&amp;gt; figure out how to display large integers without them being&lt;br&gt;
&amp;gt; E to the X.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I need to display my data as &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 901276736291&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And not as&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1.0e+011 * 9.01276736291000&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks for any help in advance.&lt;br&gt;
---------&lt;br&gt;
&amp;nbsp;&amp;nbsp;Use the %.0f format of fprintf.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;x = 9876^3;&lt;br&gt;
&amp;nbsp;fprintf('%.0f\n',x)&lt;br&gt;
&lt;br&gt;
963259373376&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 19 Feb 2008 05:19:37 -0500</pubDate>
      <title>Re: Displaying large Integers</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164042#415944</link>
      <author>Yumnam Kirani Singh</author>
      <description>Another alternative is using sprintf as&lt;br&gt;
&amp;gt;&amp;gt;sprintf('%f', x)&lt;br&gt;
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.&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
