I am customising a script and I have not really used perl/cgi before. I have a price which is displayed. The code looks like:
If $Price is 10.46, it is displayed correctly but if $Price is 10.40 it is displayed like 10.4 missing the zero. Any ideas how I can format this number to be displayed correctly everytime.