Skip to content
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

Way to specify number of digits / places when printing hex, octal, and binary numbers. [imported] #42

Open
cmaglie opened this issue Nov 15, 2012 · 1 comment
Assignees

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 549 moved from a Google Code project.
Added by 2011-05-24T19:34:41.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, Component-Core

Original description

Serial.print(n, HEX, 3); // for example

@ISO-8652
Copy link

Recommendation: don't implement this if it causes the size of certain executables to increase. The "certain executables": ones which don't use this feature.

Rationale: I have a small board and I don't want to waste the tiny memory I have. Furthermore, I feel that if someone needs this feature, then they should use a more powerful system than an Arduino. (And I =do= use this feature heavily, but in big-time programs.)

@sandeepmistry sandeepmistry transferred this issue from arduino/Arduino Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants