<?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: conversion of exponential value to integer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318645#M164621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try KKEK_CONVERT_FLOAT_TO_CURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2006 13:00:51 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2006-05-31T13:00:51Z</dc:date>
    <item>
      <title>conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318642#M164618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein i need to convert a value in exponential notation to integer value. The details are below :&lt;/P&gt;&lt;P&gt;  DATA:  L_ATFLV LIKE AUSP-ATFLV.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if L_ATFLV holds a value   1. 1.1100000000000000E+00&lt;/P&gt;&lt;P&gt;then it should be converted to a value 1.11&lt;/P&gt;&lt;P&gt;2 . if 1.1100000000000000E+03&lt;/P&gt;&lt;P&gt;then it should be converted to 1110.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpful ans will be rewarded &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 12:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318642#M164618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318643#M164619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;just equate the field to a variable of type P decimals 2.&lt;/P&gt;&lt;P&gt;and print the variable. the variable will have the value as 1.11 for the first case and 1100.00 for the second case.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 12:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318643#M164619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T12:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318644#M164620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;data f type f. &lt;/P&gt;&lt;P&gt;data: i type i.&lt;/P&gt;&lt;P&gt;data c(20) type c value '7.77E-10'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CHAR_FLTP_CONVERSION' &lt;/P&gt;&lt;P&gt;exporting string = c &lt;/P&gt;&lt;P&gt;importing flstr = f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i = f.&lt;/P&gt;&lt;P&gt;write: f.&lt;/P&gt;&lt;P&gt;write: i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: kishan negi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 13:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318644#M164620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318645#M164621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try KKEK_CONVERT_FLOAT_TO_CURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 13:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318645#M164621</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-05-31T13:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318646#M164622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOu can use the write statement using the exponent addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zh_test1 NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA float TYPE f value '1.1100000000000000E+03'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE (6) float EXPONENT 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>Wed, 31 May 2006 13:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318646#M164622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T13:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318647#M164623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; Declare a variable of type P and assign the same to that variable.&lt;/P&gt;&lt;P&gt;data: var type &amp;lt;b&amp;gt;p.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    var = value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 13:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318647#M164623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T13:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318648#M164624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost all data types are inter convertible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So just assign it to a floating point variable and your query is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: a type ausp-atflv.&lt;/P&gt;&lt;P&gt;data: b type p decimals 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a = '1.1100000000000000E+00'.&lt;/P&gt;&lt;P&gt;b = a .&lt;/P&gt;&lt;P&gt;write b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 13:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318648#M164624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318649#M164625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : integer type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;integer = exponent.-----&amp;gt;(exponential variable)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 13:03:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318649#M164625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T13:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318650#M164626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f like AUSP-ATFLV.&lt;/P&gt;&lt;P&gt;data: p type p decimals 2.&lt;/P&gt;&lt;P&gt;f = '1.1100000000000000E+03'.&lt;/P&gt;&lt;P&gt;p = f.&lt;/P&gt;&lt;P&gt;write: f, p.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 13:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318650#M164626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: conversion of exponential value to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318651#M164627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Dear Sharat,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this thread &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-43918"&gt;Simple routine to convert exponential values to float &lt;/A&gt;that solves this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed Mohsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 22:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-exponential-value-to-integer/m-p/1318651#M164627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-11T22:36:28Z</dc:date>
    </item>
  </channel>
</rss>

