Getting confused why i dont get expected amount ?
Posted
by
Stackfan
on Stack Overflow
See other posts from Stack Overflow
or by Stackfan
Published on 2010-12-23T00:51:15Z
Indexed on
2010/12/23
0:54 UTC
Read the original article
Hit count: 171
I have 1 result and which i will receive in Bank account, Based on that account i have to Put a balance to user account.
How can you find the Handling cost from total tried 491.50 / 0.95 = 517.36 which is wrong ? It should be 500.00 (to my expectation)
User balance requires 500.00 When 500.00 selected he gets 5% discount There is a handling cost for this
ex:
1) Discount: 500.00 - 5% = 475.00
2) Handling cost: (475.00 x 0.034) + 0.35 = 16.50
3) Total: 475.00 + 16.50 = 491.50
So problem is from 491.50, i have to find atleast handling cost to get promised Balance.
Any solution ? Cant figure it out myself...
© Stack Overflow or respective owner