Ah figured it out, obvious mistake of using an int when I should have used a double.
Type: Posts; User: theostorm
Ah figured it out, obvious mistake of using an int when I should have used a double.
int wordpercent = ((count/totalwords)*100);
JOptionPane.showMessageDialog(null, "Count: " + count);
JOptionPane.showMessageDialog(null, "Words: " + totalwords);...