Guest User

Untitled

a guest
Aug 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. java long parse leading zero
  2. String input= "0888880747;
  3.  
  4. long convert = Long.parseLong(input);
  5.  
  6. output = String.format("%06d", convert);
Add Comment
Please, Sign In to add comment