public final class StringUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
addLeadingZeros(int number,
int zeros)
Adds zeros to a number until it reaches a set length and converts it to a string
|
public static java.lang.String addLeadingZeros(int number,
int zeros)
number - The number to add zeros tozeros - The number of characters in the output