Have a text box which get data for price. If someone enter something like "3." i want to get it converted to "3.0" i cannot append "0" simply in the end because then if it is "100" gets converted to "1000"
Also is_numeric("3.") returns 1.
Whats the possible way round?