Show the zeros to the left #112
Answered
by
DeanIsMe
bkameid126
asked this question in
Q&A
-
In short I'm trying to do a clock using the library and I would like to know how I can display such numbers as : 0000, 0001 instead of 0, 1 thanks |
Beta Was this translation helpful? Give feedback.
Answered by
DeanIsMe
Nov 17, 2024
Replies: 1 comment 1 reply
-
Is this what you're looking for?
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DeanIsMe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this what you're looking for?
bool leadingZeros = false; // Use 'true' if you'd like to keep the leading zeros