update percentage convertion function to remove decimal point