Code:
if (price.lastIndexOf(".") == 2) {
price += "0" ;
}
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
Last edited by chrishirst; 12-16-2008 at 09:46 AM..
|