My goal is store BigDecimal values as I input them through the Scanner class. I want to store BigDecimal numbers into an array so that I can sort them numerically. Can this be done using a single-dimensional array?
I can't find any BigInteger methods designed for this task. I want BigDecimal values because the decimal precision is important to me.