> > > 2. The precision of some of the numbers may exceed float. If so, > should we use double? > I would suggest to use BigDecimal, given that you will use it for very precise calculations, no one wants the java floating point error making damages.