Class NCPDPUtil
java.lang.Object
com.mirth.connect.server.userutil.NCPDPUtil
Provides NCPDP utility methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatNCPDPNumber(String origNumber, int decimalPoints) Converts a signed overpunch code into a string representing the appropriate decimal value.
-
Method Details
-
formatNCPDPNumber
Converts a signed overpunch code into a string representing the appropriate decimal value.- Parameters:
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.- Returns:
- The string representation of the converted decimal value.
-