public class NCPDPUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatNCPDPNumber(java.lang.String origNumber,
int decimalPoints)
Converts a signed overpunch code into a string representing the appropriate decimal value.
|
public static java.lang.String formatNCPDPNumber(java.lang.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.