Viewing 1 replies (of 1 total)
  • Thread Starter chillmen

    (@chillmen)

    Fix it,
    Find this lines: or just change the number 2 to 0
    $post_ratings_percentage = round((($post_ratings_score/$post_ratings_users)/$ratings_max) * 100, 2);
    Change it to:
    $post_ratings_percentage = round((($post_ratings_score/$post_ratings_users)/$ratings_max) * 100, 0);

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-PostRatings] How to remove percentage numbers after comma?’ is closed to new replies.