User Profile
Collapse
-
I removed the code that truncates the decimals and the number actually is zero. Or at least it's 0.000000. And when I do the math on paper I get zero for the problem values. This just baffles me.... -
Negative Zero Help
I am writing a program to find the coordinates of points on a unit circle. Everything works fine except for a minor aesthetic issue. Here is the code and then I'll discuss the problem:
...Code:public class PointsOnACircleV1 { public static void main(String[] args) { double radius = 1.0; double y1 = 0.0; double y2 = 0.0;
No activity results to display
Show More
Leave a comment: