PDA

View Full Version : Ot_round



michael_s
02-05-2007, 09:13 AM
Based on the contrib of dream (thanx ;-), this update helps you to set a rounding unit.

Example with rounding unit = 0.05 :
Sub-total: 90.00
TAX: 6.84
Round: 0.01
Total: 96.85

Or with roundung unit = 0.10 :
Sub-total: 90.00
TAX: 6.84
Round: - 0.04
Total: 96.80

It :
- rounds with + and - values
- show the rounding line only if is there is something to round
- rounds depending on the chosen currency not on the default currency

Bye
ASULIS

More... (http://www.oscommerce.com/community/contributions,3086)