Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 21093

Re: Division returns 0 in query

$
0
0

Hello, it is probably because  [int]/[int]=[int] (behavior of the language), so if you expect the single value, you must retype some value to this datatype.The easiest way to do this is for example:

 

(ABS(wouldtrigger*1.000)/ABS(total)) as percentage

 

Please let me know if it helped.

 

Honza


Viewing all articles
Browse latest Browse all 21093

Trending Articles



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