Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9190

Re: Discount % with FMS doesn't give accurate result

$
0
0

Hi Maria ...

 

 

Try with rounding

 

Declare @x as numeric(19,6)

Set @x = round(convert(float, ($[$38.U_DiscAmount.number])) / ($[$38.14.number])

Select cast(@x as float) *100,4)

 

I have set for 4 decimals...

 

Check with the udf field how you have created ..

 

 

Regards

Kennedy


Viewing all articles
Browse latest Browse all 9190

Trending Articles



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