S
Stephen
I have an ADP runnning on SQL2000 and this calculation is driving me crazy.
I have a simple calculation that determine commissions.
The base amount is a value of: $12,736.50
The agent's portion is 85%
SQL is using the formla as follows:
Commission = (PostMLS - PostMLS * PercentPromo * TCFEMultiplier) *
PercentCommissionSplit
POSTMLS = $12,736.50
PercentPromo = 0
TCFEMultiplier = 1
PercentCommissionSplit = .85
This SHOULD give me a value of $10,826.025 (which it does)
However, in order to divide up the actual dollars, I need to round this
value and give the remainder to the office
Hence, $10,826.025 SHOULD be rounded to $10,826.03 and the office should get
$1,910.47
Therefore, I used the equation: ROUND((PostMLS - PostMLS * PercentPromo *
TCFEMultiplier) * PercentCommissionSplit,2)
This is the crazy part: this formula keeps returning $10,826.02
Why is it NOT rounding UP?
Help?
-Stephen
I have a simple calculation that determine commissions.
The base amount is a value of: $12,736.50
The agent's portion is 85%
SQL is using the formla as follows:
Commission = (PostMLS - PostMLS * PercentPromo * TCFEMultiplier) *
PercentCommissionSplit
POSTMLS = $12,736.50
PercentPromo = 0
TCFEMultiplier = 1
PercentCommissionSplit = .85
This SHOULD give me a value of $10,826.025 (which it does)
However, in order to divide up the actual dollars, I need to round this
value and give the remainder to the office
Hence, $10,826.025 SHOULD be rounded to $10,826.03 and the office should get
$1,910.47
Therefore, I used the equation: ROUND((PostMLS - PostMLS * PercentPromo *
TCFEMultiplier) * PercentCommissionSplit,2)
This is the crazy part: this formula keeps returning $10,826.02
Why is it NOT rounding UP?
Help?
-Stephen