Not sure if you already thought of this (and if so peanut gallery comment) but I know there is a mathematical function for things approaching a certain number (like calculating something infinitely close to a value) but as I typed this I realized I was being silly and it's much easier to code if > than set to x so...
Boobs