<?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>question Re: Transform a float value into integer using JoltTransformJSON in NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400734#M250954</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/123332"&gt;@enguias&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using "&lt;SPAN&gt;modify-overwrite-beta" instead of the "modify-default-beta", it should work.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2025 10:13:43 GMT</pubDate>
    <dc:creator>JOLTEnjoyer</dc:creator>
    <dc:date>2025-01-20T10:13:43Z</dc:date>
    <item>
      <title>Transform a float value into integer using JoltTransformJSON in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400321#M250796</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to convert float values on my flow files into integers. My Jolt Specification looks like this:&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{&lt;BR /&gt;"operation": "modify-default-beta",&lt;BR /&gt;"spec": {&lt;BR /&gt;"progress": "=toInteger",&lt;BR /&gt;"setup_value": "=toDouble",&lt;BR /&gt;"proposed_setup_cost": "=toDouble",&lt;BR /&gt;"real_setup_cost": "=toDouble",&lt;BR /&gt;"invoiced_value": "=toDouble",&lt;BR /&gt;"last_recognized_value": "=toDouble",&lt;BR /&gt;"starting_date": ["=toDateTime", "yyyy-MM-dd HH:mm:ss", "coerceOrNull"],&lt;BR /&gt;"last_progress_change": ["=toDateTime", "yyyy-MM-dd HH:mm:ss", "coerceOrNull"],&lt;BR /&gt;"end_date": ["=toDateTime", "yyyy-MM-dd HH:mm:ss", "coerceOrNull"]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&amp;nbsp;&lt;/P&gt;&lt;P&gt;But somehow my "progress" value is still being outputted like a float. If I have the value 100.0, it is not transformed to 100, for example. I also tried using&amp;nbsp;"=toInteger(@(1,value))", but that also didn't worked.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 11:12:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400321#M250796</guid>
      <dc:creator>enguias</dc:creator>
      <dc:date>2025-01-14T11:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a float value into integer using JoltTransformJSON in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400357#M250811</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/123332"&gt;@enguias&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 01:48:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400357#M250811</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-01-15T01:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a float value into integer using JoltTransformJSON in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400734#M250954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/123332"&gt;@enguias&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using "&lt;SPAN&gt;modify-overwrite-beta" instead of the "modify-default-beta", it should work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 10:13:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/400734#M250954</guid>
      <dc:creator>JOLTEnjoyer</dc:creator>
      <dc:date>2025-01-20T10:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a float value into integer using JoltTransformJSON in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/401098#M251068</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/123332"&gt;@enguias&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 16:00:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Transform-a-float-value-into-integer-using-JoltTransformJSON/m-p/401098#M251068</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-01-28T16:00:21Z</dc:date>
    </item>
  </channel>
</rss>

