Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.55K
~7K People Reached
Favorite Forums
Favorite Tags
java x 1

1 Posted Topic

Member Avatar for techgeek420

Thanks...this helped me out, but I found your mistake [code]private int countToDegrees(int count, int total) { return (int)((double)count / total * 360.0 + 0.5); }[/code] this method is taking two int parameters, so you need to cast one as a double, otherwise count/total will always equal 0.

Member Avatar for EddieHappens
0
7K

The End.