<?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 Conversion urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-urgent/m-p/1205690#M132149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  All,&lt;/P&gt;&lt;P&gt;        I have a program in which i dont want decimal values.So i am moving the value from Floating point to int4.Now i have a problem that one of the values is '3.0114e+09' and  more and its giving a dump due to overflow .Doe any know how to sole this .&lt;/P&gt;&lt;P&gt;the type for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data  v_var type F value '3.0114e+09'.&lt;/P&gt;&lt;P&gt;data  v_int type int4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move  v_var  to  v_int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / v_var,  v_int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code in my program is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                          MOVE TIME_SERIES_ITEM-TIME_SERIES_VALUE TO WA_DOWNLOAD-M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIME_SERIES_ITEM-TIME_SERIES_VALUE  is of type /SAPAPO/FLTP ie is of type FLTP length 16 and decimals 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_DOWNLOAD-M is of type int4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ahasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Apr 2006 05:48:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-15T05:48:54Z</dc:date>
    <item>
      <title>Conversion urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-urgent/m-p/1205690#M132149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  All,&lt;/P&gt;&lt;P&gt;        I have a program in which i dont want decimal values.So i am moving the value from Floating point to int4.Now i have a problem that one of the values is '3.0114e+09' and  more and its giving a dump due to overflow .Doe any know how to sole this .&lt;/P&gt;&lt;P&gt;the type for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data  v_var type F value '3.0114e+09'.&lt;/P&gt;&lt;P&gt;data  v_int type int4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move  v_var  to  v_int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / v_var,  v_int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code in my program is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                          MOVE TIME_SERIES_ITEM-TIME_SERIES_VALUE TO WA_DOWNLOAD-M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIME_SERIES_ITEM-TIME_SERIES_VALUE  is of type /SAPAPO/FLTP ie is of type FLTP length 16 and decimals 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_DOWNLOAD-M is of type int4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ahasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 05:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-urgent/m-p/1205690#M132149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T05:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-urgent/m-p/1205691#M132150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you have the "Fixed Point Arithmetic" checked in the attributes of the program and declare your variable as P DECIMALS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 05:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-urgent/m-p/1205691#M132150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T05:59:10Z</dc:date>
    </item>
  </channel>
</rss>

