I need users to be able to input numbers in the BigDecimal data type.
Numbers[i] = (BigDecimal)JOptionPane.showInputDialog(frame,"Type in a Number",0);
This is the code I tried to use but I get an error saying "Cannot cast from String to BigDecimal."
Any Advice?