format="%d.00" seems to round to the nearest dollar...
format="%.2f" is better but it truncates the string in stead of rounding it, so for 30% off 2.95 we are displayed $2.06 in the product window, but it is $2.07 when it's added to the cart because the actual price of $2.0666* is round up.
format acts on the numeric as if it is a string.
|