implemented number_to_percentage method in sale index