<?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 Create a decimal field in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318354#M5355</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to create a decimal field for a document. I try "integer" but I can just write an integer ... Then, I try "floating point" but even if I write "35.68", it save "35.0".&lt;/P&gt;
&lt;P&gt;How can I do it ?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help&lt;/P&gt;</description>
    <pubDate>Tue, 18 Dec 2012 12:20:55 GMT</pubDate>
    <dc:creator>delphine_</dc:creator>
    <dc:date>2012-12-18T12:20:55Z</dc:date>
    <item>
      <title>Create a decimal field</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318354#M5355</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to create a decimal field for a document. I try "integer" but I can just write an integer ... Then, I try "floating point" but even if I write "35.68", it save "35.0".&lt;/P&gt;
&lt;P&gt;How can I do it ?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 12:20:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318354#M5355</guid>
      <dc:creator>delphine_</dc:creator>
      <dc:date>2012-12-18T12:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a decimal field</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318355#M5356</link>
      <description>&lt;P&gt;When you say "it saves", what do you mean? How are you setting this value? What widget type are you using if you're setting this via a form?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:55:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318355#M5356</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2012-12-20T11:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create a decimal field</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318356#M5357</link>
      <description>&lt;P&gt;In Studio, I creates a document type "XXX" with a field "Floating Point" (my_field).&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 16:05:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318356#M5357</guid>
      <dc:creator>delphine_</dc:creator>
      <dc:date>2012-12-20T16:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a decimal field</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318357#M5358</link>
      <description>&lt;P&gt;I just tested, and had no issue. I guess since you started with an "int" type, the database was initialized to store an integer for this field. When changing it to a "floating point" after, i see the following error in logs:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ERROR [org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper] SQL type mismatch for "FILE_SCHEMA"."MYINTOTBEFLOAT": expected 8, database has -5 / BIGINT (19)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So i guess you just need to drop your test database for this to be working as expected (or to alter the database column if you'd like to keep your current data)&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 16:21:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318357#M5358</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2012-12-20T16:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create a decimal field</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318358#M5359</link>
      <description>&lt;P&gt;Thank you very much ! I altered the column and it works !&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2012 16:44:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/create-a-decimal-field/m-p/318358#M5359</guid>
      <dc:creator>delphine_</dc:creator>
      <dc:date>2012-12-21T16:44:24Z</dc:date>
    </item>
  </channel>
</rss>

