-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
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
nf()
produces problematic string-formatting of negative numbers
#7046
Labels
Comments
3 tasks
The example provided, would the expected output be |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most appropriate sub-area of p5.js?
p5.js version
1.9.3
Web browser and version
Chrome 124.0.6367.208
Operating system
macOS 14.4.1
Steps to reproduce this
Steps:
nf()
with a negative number and extra left padding.Snippet:
Here's the sketch for reference.
After reviewing #5710, it may be worth revisiting the string utility functions as part of p5.js 2.0.
The text was updated successfully, but these errors were encountered: