We have some field calculations concerning reimbursements for employees.
Depending on their input the reimbursement can be reduced. But it doesn't have to be negative. How can i prevent this?
The final value is displayed in a number field, where all the math happens. When the value is negative, there should be 0
Thanks a lot, tom
Some of what you said seems contradictory, but I'll take a shot at answering. Try using the ternary operator as laid out on the Conditional Calculation page. Where you have something like [123]-[456] replace it with ([123]-[456]) < 0 ? 0 : [123]-[456]
Thanks for the advice - that helped me out 🙂 I haven't found that until now. And sorry for my confusing description... 😉
Please login or Register to submit your answer
Notifications