One of the useful concept to learn in Java is formatting e.g. formatting numbers, dates and times and formatting String. In this article, we will learn how to format a numeric String to add zeros in front, this would be very useful if you are passing numeric String e.g. terminal id to a legacy system, which accept input of certain length.
from dzone.com: latest front page http://www.dzone.com/links/r/how_to_pad_zeros_on_integer_number_in_java.html
from dzone.com: latest front page http://www.dzone.com/links/r/how_to_pad_zeros_on_integer_number_in_java.html
No comments:
Post a Comment