StringUtils - toPackedDecimal function
Hello,
I am trying to use the below function and it is throwing an exception - the method is undefined for the type PublicAPI.
My requirment is convert a byte to packed decimal format.
toPackedDecimal
public static byte[] toPackedDecimal(java.lang.String aPackedString,
boolean isSigned,
int digits,
int decimals)
Convert a string to byte array encoded as packed decimal data(COMP-3).
Parameters:
aPackedString - string containing decimal value.
isSigned - whether produce signed value or not
digits - number of digits in the whole part of the number
decimals - the number of implied decimal places.
Returns:
result