larrydavid
Programmer
Hello,
I have this numerator/denominator in my SQL statement:
The output is:
I've tried several functions (ROUND, LEFT, MATH(floor) to name a few) to round this to the first two numbers so my desired output would be:
I'm pulling out my last hair. If anyone can provide an example or point in the right direction I would be much obliged.
Thanks,
Larry
I have this numerator/denominator in my SQL statement:
Code:
[Denial Ratio] = (SELECT COUNT(oc.[CLAIMNO]) FROM CLAIMS oc WHERE oc.chkamt1 = 0.00 AND oc.chkamt2 = 0.00 AND oc.chkamt3 = 0.00) * 1.0 / COUNT(oc.CLAIMNO) * 100,
Code:
[Denial Ratio]
621147.950428979900
479811.634756995500
503932.095901005400
892581.095890410900
513058.425196850300
1054343.365695792800
1544038.388625592400
Code:
[Denial Ratio]
62.11479504289799
47.98116347569955
50.39320959010054
89.25810958904109
51.30584251968503
10.543433656957928
15.440383886255924
Thanks,
Larry