Re: Discount Calculations

Dale E. Reed Jr. ( (no email) )
Thu, 19 Mar 1998 17:20:29 -0800

Ronnie D. Franklin wrote:
> We tell the customer that they are getting a 10% or 20% off each months
> price.. so Dale's way works for me with one small flaw... I setup my ISP
> business before I started using Emerald... so we setup three plans..
> $19.95, $17.95, and $15.95.. being montly, 6 months, 12 months... However
> $17.95 is actually is 10.0250627% off.. and with rounding a 10% off gives
> them $17.96 per month... same type of problem with yearly.. Instead of
> using the Discount for a period of time we have had to setup 3 different
> "pay plans"..

I've worked with accounts to change thier discount field to a real type,
giving them the ability to specify up to four decimals. The real issue
is that after four decimals, its irrelevant how much further you carry
the number, since cents only cotains two decimals. :)

-- Dale E. Reed Jr.  (       IEA Software, Inc.      |  RadiusNT, Emerald, and NT FAQs Internet Solutions for Today  |