All i'm trying to do is create a random number between 100-3000 that's a multiple of 100...
randomNum = 100+(int)(Math.random()*2900);
I know this creates a number between 100-3000, any ideas on how to make the number it creates a multiple of 100?
+ Reply to Thread
Results 1 to 2 of 2
Thread: Multiple of 100
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