Hello experts,
I am just trying to learn to use Eclipse and I have the following code snippet which works OK in NetBeans but in Eclipse I get error:-
The method format(String, Object[]) in the type String is not applicable for the arguments (String, double)
result.append(" Collector Area:," + String.format("%6.1f", (double)Area) + ", (sqft)" + NEW_LINE);
Start Free Trial