Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

How to Use Round Function In Teradata - response (3) by maheshkumittal

$
0
0
Hello, 1. SELECT CAST((1.2435) AS DECIMAL (5,3)); result - 1.244 2. SELECT CAST((1.2445) AS DECIMAL (5,3)); result - 1.244 3. SELECT CAST((1.2455) AS DECIMAL (5,3)); result - 1.246 I expected the result of 2nd query to be 1.245 but it is not. Please Explain.  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>