Converting height value to scalar value

Does anyone know anyway to convert a heightfield into a scalar value? What I’m trying to do is use a flat heightfield (the height changes with a seed value) and then have that height value drive a bank selector to fire out different variables depending on that height.

Basically I’m trying to create a (somewhat) randomized scalar value generator that will output a different value everytime the randomizer button is pressed.

Failing that, would there be anyway to clamp an integer value? Currently if you plug an integer value (say, a random seed value of 32655) into an integer parameter that is min/maxed between 0 and 10, the parameter will still output a value of 32655 rather than just stop and output it’s max value of 10.