Ulf Dittmer wrote:What Winston is saying that you're using "%d" for formatting both a double and a string.
Ulf Dittmer wrote:What do you think "%d" means? If you're not sure, it's explained in the javadocs of the java.util.Formatter method. After reading that, the error message should become clearer.
Ulf Dittmer wrote:As to the point of these forums, it is very much not to hand out straight answers, but to help people to learn. That frequently involves guiding them towards a solution, which generally makes for a better learning experience, even if it does not feel so along the way.
Ulf Dittmer wrote:I was going to reply to some of the points you made about what kind of help the paid employees of your company offer to people they hope to turn into paying customers, and how all that differs from a web site where everybody is a volunteer, and where folks like yourself pay nothing for the help they receive (even if they don't recognize that they are in fact receiving it). I was also going to advise you to head straight for stackoverflow.com, where discussion of any kind is frowned upon, and only straight answers will do, lest the moderator's wrath comes down upon folks. And where I suspect that, given your attitude, your account wouldn't be left active for long.
But since you won't be returning all that seems a bit pointless. I shall therefore close your account, since you won't be needing it any more.
J. Chris Miller wrote:I don't need you to tell me to close my account though.
J. Chris Miller wrote:What attitude?
Saurabh Pillai wrote:Chris, In past, I have also had some unpleasant experience here. What I have learned, Javaranch does not want to hand you the fish, they want to teach you how to fish which is helpful in long run but could be painful when you're short on time. It frustrates you.
What I usually do is, I post the question on multiple forums like Stack Overflow and Spring Forum (in my case) likewise and post a cross-post link here in JR (there is a policy on that). SO is better option when you're short on time probably because they have more users.
And, on internet, it helps if you keep positive attitude.
I agree. Here's the link: http://javaranch.com/programming-pearls.jsp |