Your creating validations here for array(-1, -0.9, -0.8 ... 0.8, 0.9, 1)
Why not just add a few of those to the $validations array statically.
These should always be true and will never reach the boundary so ```$float <= $boundary``` is not really necessary.