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
1.7.0 and later
No response
Comparing the p5 builtin max with the js Math max
print(max("3.227389", "146.271501")); print(Math.max("3.227389", "146.271501"));
prior to 1.7.0 this logs 146.271501 146.271501 from 1.7.0 onwards this logs 3.227389 146.271501
I would expect the p5 max to behave the same way as the Math.max
The text was updated successfully, but these errors were encountered:
Merge pull request #6730 from iamnithishraja/iamnithishraja/#6728
626bdc9
max and min now evaluates correctly
Successfully merging a pull request may close this issue.
Most appropriate sub-area of p5.js?
p5.js version
1.7.0 and later
Web browser and version
No response
Operating System
No response
Steps to reproduce this
Comparing the p5 builtin max with the js Math max
Snippet:
prior to 1.7.0 this logs
146.271501
146.271501
from 1.7.0 onwards this logs
3.227389
146.271501
I would expect the p5 max to behave the same way as the Math.max
The text was updated successfully, but these errors were encountered: