Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Decimal rounding issue

$
0
0

Hi,

 

Round() does work when I first calculate everything in Double and then use Round(Double,2).

But if I directly pass Decimal = Double instead of Round(Double,2) then I dont get any rounding.

All my measure are in decimal format in database table. I have to convert to Double do calculation and then use round to get desired results. But then wont it be CPU intensive operation which should not be necessary in first place.

 

I am just trying to figure if this how I am suppose to do all of the calculation or is this bug only in my software version. If its there only in SPS69 and if not observed on SPS70 or higher then I will get my HANA version upgraded.

 

Thanks,

Nitesh


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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