title: DECIMAL Types in Teradata
body: <p>Can somebody please explain the following result I get in Teradata:</p>
  
  <pre><code>SELECT TYPE(CAST (2.3 AS DECIMAL(18,4)) * CAST (2.3 AS DECIMAL(18,4))  )
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>DECIMAL(18,8)
  </code></pre>
  
  <p>I was expecting DECIMAL(18,4)</p>