Hi,
Just seeing if there is a function or similar that I can use to format currency for styling purposes.
All our products are stored in the decimal format in the database and can format them to the correct local, but for the design of the site I need to modify the display price if there is a pence value, so that the .99p has its own class.
For example
£120 I can display that correct with no decimal points etc
but if the price is £79.99 I would want to break after the decimal point and add in tags for presentation display
£79.<small>99</small>
I have a function that explodes at the decimal point etc but was wondering if there is a simpler way to achieve this, as when the currency is EURO they have the decimal point at the thousand separator...
Thanks