![](https://s3.amazonaws.com/files.d20.io/images/104460920/kocaVJDN_vcUHXdfJgR-JQ/thumb.png?1581509029618)
Apologies in advance for this once again being a fairly newbie question, but the help I've received has been immensely helpful. I am looking to set a minimum value on a calculation (to 0). Effectively I am attempting to add an encumbrance calculation to my inventory. Each time carried weight exceeds your base carry attribute, I want it to go up by 1. The main meat of the question is to do this, I am first hoping to calculate your Maximum Carried limit (which I've already worked out), reduced directly by Amount Carried. If I am able to set a floor of 0 on this calculation, it means you would only net a result above 0 if you are carrying more than the subtracted amount. I think the rest of the calculation from there is a breeze, but I am unsure how to lock this calculation at a minimum of 0. I think what I want is the Min function, but I'm unsure how to wield it properly in this context. I'm not even 100% sure it's possible. Summary: I am trying to take the following calculation and make the minimum result 0, not in the negatives: floor(@{CARRY_CURRENT}) - floor(@{TOTAL_CARRYCAPACITY}) I think the rest of what I'm trying to do shouldn't be a problem if I can accomplish that. Thanks again!