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 #184527 is a reply to message #184525] Sun, 05 January 2014 23:09 Go to previous messageGo to previous message
Adrienne Boswell is currently offline  Adrienne Boswell
Messages: 25
Registered: October 2010
Karma:
Junior Member
Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote

> On 1/5/2014 11:40 AM, Denis McMahon wrote:
>> On Sat, 04 Jan 2014 20:22:31 -0500, Jerry Stuckle wrote:
>>
>>> On 1/4/2014 7:54 PM, Denis McMahon wrote:
>>>> On Sun, 05 Jan 2014 00:26:08 +0000, 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, $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
>>
>>> Actually, Denis, since the original statement was the processor gets
>>> $10, he would get $10/$90 or 11.11% of the sale.
>>
>> Yeah, I took the statement "those amounts have to be calced on the
>> original amount" as implying that the processing fee was being
>> calculated on the pre-discounted total, as was the discount.
>>
>> Which is what led me to querying the nature of the processing fee,
>> and whether given it's nature it's being calculated at the right
>> point, because I would expect that a [payment] processing fee would
>> normally be related to the amount of the actual transaction, which as
>> you say is $10 / $90 in this case.
>>
>> I'm also wondering if Adrienne is perhaps using the term "processing
>> fee" in a way other than that which I expect it to be used - we do
>> get the "some people use a slightly different english" problem here
>> occasionally.
>>
>> eg if "processing" was something like shipping and packing, $10 per
>> order, then it would be $10 regardless of the original amount or the
>> discounter amount, but then I wouldn't expect the processing fee to
>> be calculated from the transaction cost at all, I'd expect it to be
>> mainly a function of the total volume / weight and possibly item
>> count of the goods involved.
>>
>
> Agreed. The entire question isn't real clear - no wonder the OP is
> having problems with it.
>

I probably should have put processing in quotes, we're using that term
for something that includes membership fees, and other charges.

Sometimes, when you write a word correctly, it looks wrong, so you ask
someone else how to spell it. That's what happened to me here, I didn't
think I was doing it right and got myself all confused. I want to thank
everyone who responded for their help and confirming what I thought. I
feel better now.


--
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
[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: Mon Nov 25 04:21:36 GMT 2024

Total time taken to generate the page: 0.04959 seconds