That's a really weird way to write it. Why not
PHP Code:
if (UserPrice.text != "Offer" && (UserPrice.text < 1 || UserPrice.text > 2000000)) {
return;
}
What you're doing right now is difficult to read and it isn't clear how it's supposed to be executed (left-to-right, but parentheses would make it clearer, just like you sometimes use them in arithmetic even if not dictated by order of operations for clarity).