magicskeptic
07-02-2005, 06:06 AM
Hey, I've made a web poll cgi, and one of the things it shows is the percentage of the certain option that's been selected. But the percentages all have long decimals and it looks ugly. How can I round the decimals of the percentages down to just 1 decimal?
I tried googling this and I just kept finding how to do it with javascript, but nothing on how to do it in perl.
Jacob
I tried googling this and I just kept finding how to do it with javascript, but nothing on how to do it in perl.
Jacob