I am a newbie and would appreciate it if someone could
answer my question. Why won't the following code yield
the remainder:
amount = principle *(100 + rate) / 100;
amount2 = amount/ 100;
amount3 = amount % 100;
|
+ Reply to Thread
Results 1 to 2 of 2
Thread: Modulus operator
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S. Wed Yourself to UML with the Power of Associations Microsoft to Add AJAX Capabilities to ASP.NET IBM's Cloudscape Versus MySQL | ||||||||||||||||||||||||||||||||||
![]() | |||||
|
| |||||
![]() |
Bookmarks