Have you tried example1 or example2?

If you think example1 is not good, try only example2.

Type in the numbers, I gave as examples.
What are your results?

If you think the script has to be changed to compare two (negative) numbers (e.g. > or < -n), please write it.