Let's do some math ..  Rounding examples of 7 random hypothetical purchases:
  Case Tag  
Price  
Sales  
Tax %  
Raw Total  
Incl. Sales Tax  
Rounded  
to Penny  
Rounded  
to Nickel  
Rounded  
to Dime  
  Purchase #1 $37.98   5.285%   $39.9872   $39.99   $40.00   $40.00  
  Purchase #2 $115.48   13.668%   $131.2638   $131.26   $131.25   $131.30  
  Purchase #3 $103.34   12.278%   $116.0281   $116.03   $116.05   $116.00  
  Purchase #4 $201.42   4.360%   $210.2019   $210.20   $210.20   $210.20  
  Purchase #5 $127.68   4.787%   $133.792   $133.79   $133.80   $133.80  
  Purchase #6 $85.59   3.424%   $88.5206   $88.52   $88.50   $88.50  
  Purchase #7 $245.91   13.553%   $279.2382   $279.24   $279.25   $279.20  
  7 purchase totals = $917.40       $999.0318   $999.03   $999.05   $999.00