<?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 Alfresco-ephesoft conversion problem in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39911#M16727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ephesoft, I have an index field of data type float. I map it to an alfresco property of type d:float.&lt;/P&gt;&lt;P&gt;In ephesoft I manually enter the value 11.11 for the index field but in alfresco it gives me 11.1099995676.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 13:06:52 GMT</pubDate>
    <dc:creator>tomak</dc:creator>
    <dc:date>2017-12-04T13:06:52Z</dc:date>
    <item>
      <title>Alfresco-ephesoft conversion problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39911#M16727</link>
      <description>Hello,In ephesoft, I have an index field of data type float. I map it to an alfresco property of type d:float.In ephesoft I manually enter the value 11.11 for the index field but in alfresco it gives me 11.1099995676.What is the problem?</description>
      <pubDate>Mon, 04 Dec 2017 13:06:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39911#M16727</guid>
      <dc:creator>tomak</dc:creator>
      <dc:date>2017-12-04T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco-ephesoft conversion problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39912#M16728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Must say nice catch..Now lets see the problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure which exact file is having the problem.I look at the code&amp;nbsp;on below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ecmarchitect.com/archives/2013/08/26/3528" title="https://ecmarchitect.com/archives/2013/08/26/3528" rel="nofollow noopener noreferrer"&gt;CMIS example: Uploading multiple files to a CMIS repository | ECM Architect&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and found that alfresco is using similar code like below to import float value in alfresco.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;props.put("cmisbook:gpsLatitude", BigDecimal.valueOf(Float.parseFloat(lat)));&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;Now if you execute below code in normal java file.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt; &lt;/CODE&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;String ni="11.11";&lt;BR /&gt; System.out.println(BigDecimal.valueOf(Float.parseFloat(ni)));&lt;/CODE&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;It will give output as&amp;nbsp;&lt;STRONG&gt;11.109999656677246.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:05:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39912#M16728</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-12-04T14:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco-ephesoft conversion problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39913#M16729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you advise? I can't find any exact information on the data types in ephesoft. What the 11.11 represents is an amount of money. Maybe another datatype would be more interesting. I suppose that if I use a string datatype in ephesoft, and a string datatype in alfresco, there will be no "conversion". but I suppose I will also loose any possibility of doing calculations in alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I am a real beginner &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/silly.png" /&gt;&amp;nbsp;I'm a mathematician doing a student job on alfresco and ephesoft and I'm a bit overwhelmed by all the programming aspects &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:36:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39913#M16729</guid>
      <dc:creator>tomak</dc:creator>
      <dc:date>2017-12-04T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco-ephesoft conversion problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39914#M16730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declaring alfresco type as&amp;nbsp;d:double should do the trick.I think &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:04:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39914#M16730</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-12-04T15:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco-ephesoft conversion problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39915#M16731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just changed alfresco to double and ephesoft to double and it works &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:06:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ephesoft-conversion-problem/m-p/39915#M16731</guid>
      <dc:creator>tomak</dc:creator>
      <dc:date>2017-12-04T15:06:25Z</dc:date>
    </item>
  </channel>
</rss>

