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
1 Posted Topic
Re: 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. |
The End.