I didn't sleep too good last night for two reasons.

Firstly, Scott is always right. Always. Yet none of the other suggestions followed his suggestion.

Secondly, Ken's solution looks too simple.

Here's what I tried this morning and it seems to work, but it doesn't use the %div bif, which requires whole numbers.

      eval      wAdjAmt = wPhCrdFee * %int((Amt1 +
                   Amt1 - .01)/ wPhCrdInc)

Ken Sims wrote:
Hi Booth -
Geez, all this discussion for such a simple formula.

fee = 4 * %div( amount + 499.99 : 500 )

Ken
http://www.ke9nr.net/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.