in reply to percentage problem
You'd do well to learn some basic maths, and Perl if you insist on working with either.