The program simply starts with the number nine (9), and repeatedly divides it by ten (10), and should display the following result:
0.9 0.9 0.09 0.089999996 0.009 0.0090 0.0009 9.0E4 0.00009 9.0E5 0.000009 9.0E6 9E7 9.0000003E7 9E8 9.0E8 9E9 9.0E9 9E10 8.9999996E10where the lefthand column is the results given using the new BigDecimal class, and the righthand column is the results obtained using the binary float datatype.
You can use the program for testing your installation of the decimal package; the program is available in both Java and NetRexx:
Java

NetRexx
