<?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: in hive casting of decimal to double is returning the exponential form rather than the non scientific form in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/in-hive-casting-of-decimal-to-double-is-returning-the/m-p/209233#M171189</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/26259/ekharshavardhan851.html" nodeid="26259"&gt;@sai harshavardhan&lt;/A&gt;&lt;P&gt;The value that you are receiving is as expected, this sample java code show the info.  If you are wanting to get the exact value as an output, you should convert that value to string.&lt;/P&gt;&lt;P&gt;import java.lang.*; &lt;/P&gt;&lt;P&gt;public class DoubleDemo &lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;   public static void main(String[] args) &lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;      double d = 12345678910.231; &lt;/P&gt;&lt;P&gt;System.out.println("Value of d = " + d); &lt;/P&gt;&lt;P&gt;   }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2017 04:26:22 GMT</pubDate>
    <dc:creator>quadoss</dc:creator>
    <dc:date>2017-08-11T04:26:22Z</dc:date>
  </channel>
</rss>

