Check if float is in range if it is use it if not stop.

Didn’t seem to work.