Clamps this value into the range min and max converting it into Int. The default parameters will cover the whole range of values.