FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Math Formula Question - Need Ideas
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Math Formula Question - Need Ideas [message #184518 is a reply to message #184516] Sun, 05 January 2014 01:20 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/4/2014 7:37 PM, The Natural Philosopher wrote:
> On 05/01/14 00:26, Adrienne Boswell wrote:
>> I have a math question to which I can't find the answer. Here is the
>> scenario:
>>
>> 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,
>
> no., The customer gets the goods.
>

Plus $10.00 of the original $100.00

>> $80.00 goes to the merchant,
> If you say so
>

That's one of the original conditions.

> $10.00 goes for a processing fee.
>
> who gets that?
>

Maybe a credit card processor? Maybe the product is being shipped and
this is postage and handling? Who knows.

More importantly, it doesn't matter. It's another of the original
conditions.

> 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.
>>
>
> are you for real?
>
> $90/(1-0.1) = $100
>
> 0.1 being 10%..
>

Well, we know you can do first grade math, anyway. But then the OP SAID
it was 10%. Maybe you have some problem understanding him?

>> I know this is probably dead simple, but I just can't get my head around
>> it.
>>
> A degree in media studies...or was it 'climate science' ?...;-)
>
>> Thanks in advance.
>>
>
>

Maybe you should get your second grade education.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: foreach problem part two
Next Topic: json testing suggestions
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 23:53:25 GMT 2024

Total time taken to generate the page: 0.04966 seconds