Possible Duplicate:
Format currency using javascript
I am returning data from the serverside as numeric values, i.e.
value[0] = 1
value[1] = 100
value[2] = 10000
value[3] = 1000000
value[4] = 100000000
and so on.
How do I format this at client side so they look like this:
£1
£100
£10,000
£1,000,000
£100,000,000