How to make float limits

It definitely works, so you made something wrong.