Bill_n_miami
New member
- Local time
- Today, 17:30
- Joined
- Oct 19, 2011
- Messages
- 9
Hello everyone and thank you for your time in making this forum possible.
Can anyone tell me how to prevent a negative number from returning when I multiply a field by .06?
I created my own billing system and am having trouble with the late fee calculation. If someone has a late payment or even has paid on time there is no problem as the late fee calc is either 0 or the proper late fee. The problem arises when there is a credit balance.The expression simply multiplies the balance due by .06 and creates a negative late fee which when added to the list of current charges reduces the total due.
Here is the expression: Late Fee: ([Prev Bal]-[Paymt Recv])*0.06
I would like to use an expression that would only return a positive value when called for or a zero if there is no late fee or a negative fee.
Any help would be immensely appreciated.
Thanks,
Bill
Can anyone tell me how to prevent a negative number from returning when I multiply a field by .06?
I created my own billing system and am having trouble with the late fee calculation. If someone has a late payment or even has paid on time there is no problem as the late fee calc is either 0 or the proper late fee. The problem arises when there is a credit balance.The expression simply multiplies the balance due by .06 and creates a negative late fee which when added to the list of current charges reduces the total due.
Here is the expression: Late Fee: ([Prev Bal]-[Paymt Recv])*0.06
I would like to use an expression that would only return a positive value when called for or a zero if there is no late fee or a negative fee.
Any help would be immensely appreciated.
Thanks,
Bill