Correcting price number with commas.
Hi,
My site is
www.mercadobarcos.com.
I have added the function to correct prices showed in the child theme tutorial 2:
http://www.appthemes.com/blog/classi...torial-part-2/
If a price is $1000, the function turns it into $10,000.00.
I like this function because it adds the commas without messing with the advanced search for price.
However, my site is only for boats, no user will ever enter a price with cents.
The cents increase the price tag size and messes up the whole design layout for the loop ad.
I need a function that adds the commas, but ignores the cents.
Example, $10000 to $10,000 (no cents)
Can someone help me?
Thanks