Is there any function that can be used to round to a number let say 100. I'm calculating a tax deduction, ded1, that is derived from a maximum deduction value, the percentage payable and a rounding accuracy (round_to_amt). For example:
Given
Maximum deduction = 400
percentage payable = 50%
and
round_to_amt = 100
Then
tax dedution = 200
I'm using the ROUND function as below
but that only gives accuracy to 10 decimal places.
Given
Maximum deduction = 400
percentage payable = 50%
and
round_to_amt = 100
Then
tax dedution = 200
I'm using the ROUND function as below
Code:
ROUND( (400 * 50 * .01), (100/10)),
but that only gives accuracy to 10 decimal places.