I am dealing with data from a mainframe where all the fields are
String data types. However some of the fields have deciaml(currency) values that I need to be able to convert to a BIGINTEGER data type and since BigInteger has no constructor that utilizes int I am lost at getting this string to a BigInteger. Any help or direction would be appreciated.
Here is the method that I started with and its blowing up because the bolded values below contain decimal values that are a String data type.
public BigInteger getRequisitionTotal(){
BigInteger itemprice = new BigInteger(
getLineItemPrice());
BigInteger reqtotal = new BigInteger(
getQuantityOrdered());
BigInteger extensionTotal = itemprice.multiply(reqtotal);
return extensionTotal;
}
Thanks.