make percentage of events float