diff --git a/src/main/java/fr/zcraft/VoteBan/votes/Vote.java b/src/main/java/fr/zcraft/VoteBan/votes/Vote.java index 257af77..19bdd0a 100755 --- a/src/main/java/fr/zcraft/VoteBan/votes/Vote.java +++ b/src/main/java/fr/zcraft/VoteBan/votes/Vote.java @@ -111,7 +111,7 @@ public int getVotersCount() public double getYesPercentage() { - return votesYes.size() / getVotersCount(); + return (float) votesYes.size() / (float) getVotersCount(); } private void separator()