Stop Limited Ammo From Reaching Below Zero?

How do I stop my ammo reserves from going below zero? This Limited Ammo function works fine except the Reload is allowed to subtract beyond the available amount. There is a boolean that denies reloading when Reserves equals exactly zero but I am struggling to find how to deny pulling more ammo than is available in reserves.

Boolean: Has Enough Ammo = True when Reserve ammo is > 0

Clip Size: is the max clip size of the weapon

Current Ammo: is the current ammo within the clip

Ammo We Need: The amount of ammo missing in the clip

All Ammo: by default is the maximum ammo Reserves for the weapon.

I know the issue is immediately after “Ammo We Need” is set but I don’t know what function is available to solve my problem.

…Clamp it so the minimum will always be 0?

Clamping floats

edit: and in case you don’t have a max ammo cap, you can also use the max function, which returns the highest value of the two you put in (simply leave one to 0 and set the other one to your ammo. If it’s less than 0, it will return 0).

Compare Float was the answer to my problem as was a good nights sleep.