String.format("%2d", 1);
This will ensure that a single digit integer will be padded with 0.
String.format("%2d", 1);
Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.
Our website uses cookies to improve your experience. Learn more
Accept !
I'm appreciate your writing skill.Please keep on working hard.^^
ReplyDeletePost a Comment