This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Ranchers, I'm trying to format a word to three significant figures but the methods round and ceil are not actually working out well. I'll want to make this variable z return 0.985. double z = 0.98477908; The round and ceil are returning 1 and 1 respectively which is not supposed to. Thanks in advance.