int votes, totalVotes; GetMenuVoteInfo(param2, votes, totalVotes); float Rate = votes / totalVotes * 100.0;