Sometimes you don`t want to display the price with the set number of decimal places.

This modification allows you to select how many places to display.

I`ve also included a function to check if a value would be incorreect if displayed as such so it can be displayed correctly.

IE with places set to 0, 70.00 will display as £70, but 50.49 will display as £50.49

I`ve made this backward compatible, so if you don't make changes to a call it will be un-effected.

For Oscommerce 2.2rc1

More...