The Extra Value after the Clamp (Integer)

Hello guys,
is there a way to get the extra value after the clamp?
Example:
Value->240+120=360
min Value->0
Max Value->300
output->300
I want the extra 60 after the clamp, this is just an example I`m going to have a lot of random numbers in the end I need the extra value after the clamp.

Thanks for help in advance.

result - clamp = difference

image

I tried this before but I used the Min ( integer) node before I stored the value forgot to try it again with the Add( Integer ) node xD

Thank for the reminder anyway :smiley:

1 Like