Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have an expression something like count(x)/count(y) the results are sometimes many decimal places Ex. 1234/3.9 = 316.410256410256. Can you give me an example of the syntax to limit it to two decimal places?
Thanks
May be this:
Num(Count(x)/Count(y), '##.00')
If you want to round then use the round() function: Round(Count(x)/Count(y), 0.01)
Other options are the floor() and ceil() function. The num() function will not round the value, but only change the display format.
Thank you for answering this.
Thanks for answering this.