We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To quote from the docs:
asIntPositive() Performs the same task as asInt(), but also verifies that the number is positive (greater than zero). asIntNegative() Performs the same task as asInt(), but also verifies that the number is negative (less than zero).
asIntPositive() Performs the same task as asInt(), but also verifies that the number is positive (greater than zero).
asIntNegative() Performs the same task as asInt(), but also verifies that the number is negative (less than zero).
This is very close to what the Wikipedia entry says about integers with the important addition, that zero is neither:
An integer is positive if it is greater than zero and negative if it is less than zero. Zero is defined as neither negative nor positive.
But when I look in the code, here and here you specifically leave out 0 which makes it both positive and negative.
0
I actually don't mind that, I would only like it, if it said so in the docs :)
The text was updated successfully, but these errors were encountered:
@joh-klein included in v6.0.2 release 😄
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
To quote from the docs:
This is very close to what the Wikipedia entry says about integers with the important addition, that zero is neither:
But when I look in the code, here and here you specifically leave out
0
which makes it both positive and negative.I actually don't mind that, I would only like it, if it said so in the docs :)
The text was updated successfully, but these errors were encountered: