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.
OK, I thought this would be an easy question, but I got it wrong: What is the value of the following expression: Math.round(Math.random() + 2.50001); Answer: 3 Isn't it possible the value of Math.random() could be 0.99999 ? If it was then the value of the expression would be 3.5 which would be rounded to 4, no? Thanks, Drew