Re: Math Formula Question - Need Ideas [message #184526 is a reply to message #184522] |
Sun, 05 January 2014 22:56 |
Adrienne Boswell
Messages: 25 Registered: October 2010
Karma:
|
Junior Member |
|
|
Thomas 'PointedEars' Lahn <PointedEars(at)web(dot)de> wrote
> Adrienne Boswell wrote:
>
>> Someone goes to a store and has $100.00 worth of items. The merchant
>> gives the customer a 10% discount, so only $90.00 is sent to the
>> bank. Of the original amount, $10.00 goes to the customer for the
>> discount, $80.00 goes to the merchant, $10.00 goes for a processing
>> fee. But those amounts have to be calced on the original amount, not
>> what the bank got. I need a formula to find the original amount if I
>> have the percentage (10%) and the amount the bank got ($90.00). I
>> know in my head that the original amount is $100.00, but I have to do
>> it programatically.
>>
>> I know this is probably dead simple, but I just can't get my head
>> around it.
>
> Do your own homework.
>
> [You cannot be serious asking a question regarding simple arithmetic
> (percentage calculation, for crying out loud) in a newsgroup for a
> programming language — without showing any attempt to solve it by
> yourself, I should add.]
>
>
> PointedEars
Yes, I can be serious asking a question like this. Have you ever looked
at something you spelled correctly, and it doesn't look right?
Sometimes, I think something is harder than it is, and confuse myself.
That's what happened here.
--
Adrienne Boswell
Arbpen Web Site Design Services - http://www.cavalcade-of-coding.info/
The Good Plate - Fresh Gourmet Recipes - http://the-good-plate.com/
Please respond to the group so others can share
|
|
|