Condense integer? Switch on int problems

Hey there,

I feel like Im being really stupid.

I want to control the selection by the body fat,

Maybe Im not going about this even remotly the right way.
Maybe it needs a map…Or a data table? Gosh dang it.

Anyhelp would be greatly appraciated.

equally unrelated note:

My integer clamp should stop at 100 but stops at 110. No idea why. Lol (It adds in 10s)

You can just do this ( which I think you were heading for )

( and so on … )

But in this particular case

image


You could also use a map like this

2 Likes

Thanks! This is exactly what I was hunting. My brain just did not want to work yestarday!

Thanks again :slight_smile: