public class NCPDPUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formatNCPDPNumber(String origNumber,
int decimalPoints)
Converts a signed overpunch code into a string representing the appropriate decimal value.
|
public static String formatNCPDPNumber(String origNumber, int decimalPoints)
origNumber
- The signed overpunch code to convert.decimalPoints
- The index at which to place a decimal point in the converted string. If this value
is less than or equal to zero, or greater than or equal to the length of the
overpunch code, a decimal point will not be inserted.