Possible Duplicate:
In PHP, how to print a number with 2 decimals, but only if there are decimals already?
Brothers I want to convert me any way I entered into a text field automatically turns 12 to 12.00
How possible work by php and javascript
Thanks