Calculating simple interest over fractions of a year