Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java double question
Name: hymn7 Date: March 25, 2005 at 04:22:22 Pacific OS: XP CPU/Ram: 512 mb
Comment:
In Java, how do you make it where if you have a double with a lot of spaces (like 5.120230061 for example) print out with only two spaces? (like 5.12)
Summary: Hello, I have just started taking Java (programming III/IV) at my high school, and was wondering if any of you can give me a better explanation of the following question, than what my teacher had told...
Summary: I am new to Java and programming in general, just starting to take a class in the fall. I have two questions. Is there a way to print out a message and make a program stop, like in an if/else statemen...
Summary: In Java, when I read a line by executing .readLine(), the pointer gets to point the begining of the next line in a stream. My question is if there is any way to go back to the begining of the previou...