<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue in converting a integer value to string for below program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768091#M243587</link>
    <description>&lt;P&gt;Because of the way SAS (and other software that uses 64-bit technology, like Excel) stores numbers (see &lt;A href="https://en.wikipedia.org/wiki/Double-precision_floating-point_format#Precision_limitations_on_integer_values" target="_blank" rel="noopener"&gt;here&lt;/A&gt;), numbers beyond 16 decimal digits will not be handled correctly.&lt;/P&gt;
&lt;P&gt;For statistical analysis, such precision is not needed anyway.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2021 11:49:19 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-09-16T11:49:19Z</dc:date>
    <item>
      <title>Issue in converting a integer value to string for below program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768090#M243586</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;Trying to convert the c=12345678912345.61 value to string by using put function but is not working as expected.&amp;nbsp;&lt;BR /&gt;It looks SAS is having limitations in converting big numbers.&lt;BR /&gt;Is it possible to convert integer values( more than 17 digits) to string ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;c=12345678912345.61;&lt;BR /&gt;b=put(c,best32.2);&lt;BR /&gt;put b;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output :-&amp;nbsp;&amp;nbsp;12345678912345.6&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 11:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768090#M243586</guid>
      <dc:creator>Anu123</dc:creator>
      <dc:date>2021-09-16T11:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in converting a integer value to string for below program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768091#M243587</link>
      <description>&lt;P&gt;Because of the way SAS (and other software that uses 64-bit technology, like Excel) stores numbers (see &lt;A href="https://en.wikipedia.org/wiki/Double-precision_floating-point_format#Precision_limitations_on_integer_values" target="_blank" rel="noopener"&gt;here&lt;/A&gt;), numbers beyond 16 decimal digits will not be handled correctly.&lt;/P&gt;
&lt;P&gt;For statistical analysis, such precision is not needed anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 11:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768091#M243587</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-16T11:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in converting a integer value to string for below program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768096#M243590</link>
      <description>&lt;P&gt;Thank you for your answer,&lt;BR /&gt;&lt;BR /&gt;Can you please let me know how to handle amounts more than 16 digits than in SAS ?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 12:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768096#M243590</guid>
      <dc:creator>Anu123</dc:creator>
      <dc:date>2021-09-16T12:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in converting a integer value to string for below program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768101#M243595</link>
      <description>&lt;P&gt;You can use much larger numbers (be cause of the exponent) in calculations, but not with precision beyond the 16th digit.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 12:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-converting-a-integer-value-to-string-for-below-program/m-p/768101#M243595</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-16T12:35:37Z</dc:date>
    </item>
  </channel>
</rss>

