Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 17th, 2019
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
int i = 000;
i++;
System.out.println(i); //the output is 1 but I want 001
System.out.println(String.format("%03d", i));
Add Comment
Please,
Sign In
to add comment
Public Pastes
SLOJNITE ZADACHI
C | 3 min ago | 1.80 KB
mp4 в mp3.py
Python | 17 min ago | 6.16 KB
Untitled
MySQL | 19 min ago | 3.97 KB
Untitled
MySQL | 20 min ago | 5.05 KB
2 log
HTML | 23 min ago | 0.07 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 59 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 60 min ago | 0.39 KB
Ultrasonic Update rev_01
Arduino | 1 hour ago | 2.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!