division code help!
BlitzPlus Forums/BlitzPlus Programming/division code help!| 
 | ||
| i need help write a code that can make division problems to where it doesn't go into decimal or where the problems don't have remainders .sorry this is hard to explain. | 
| 
 | ||
| euhm... you mean, casting to INT? (assuming the variables you were using have been floats in the first place) | 
| 
 | ||
| nono ,i dont want to round it .i mean a code that detects if its divisable without remainders. | 
| 
 | ||
| Assuming you have a value AND a divider then: Notify value Mod divider If the result is 0 then there's a perfect division. | 
| 
 | ||
| ty so much |