The only way to do this is by using variables. Since the event and formula share the local variables, you can pass them as local variables and prevent interference with other events and formula calls.
I.e. before using the formula, you'll have to set a min and max float variable in your event. In the formula, you'll have to check the formula value at the end and change it if it exceeds the limits.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I.e. before using the formula, you'll have to set a min and max float variable in your event. In the formula, you'll have to check the formula value at the end and change it if it exceeds the limits.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!