I need to work out a fee calculator, but i cant for the life of me figure out the equation to do it. Anyone want to show off their skills?
The calculator works like this. The figures are approx ( a couple of dollars either way does not matter)
Min charge $4.95. The Fee starts at $4.95 and goes up to $29.95 an so on. The fees go up depending on the amount deposited with a fee ending at the amount of F. The deposit are up to the amount in D. So each dollar amount entered goes up in scale - which varies.
D refers to Deposit and F refers to the fee charged.
D $700 F $29.95
D $1000 F $32.95
D $2000 F $33.95
D $5000 F $55.00
D 10,000 F $70
D 25,000 F $160
D 50,000 F $280
D 75,000 F $350
D 100,000 F $380 which is the maximum fee.
So basically, I want field that you enter and amount into "D", the calculator has the formula already and spits out the answer of "F".