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.
The - symbol was not printed since you are printing a positive integer (i2 is greater than zero) and when the comma symbol is used to format the numbers, typically comma separates group of 3 digits from the RHS. Thus, 1234567 will be printed as 1,234,567
Joined: Jul 26, 2006
thanks for the reply...but i din get the concept of i2 greater than zero....