Remainders
Posted: 24 Aug 2010 06:33
Does batch have a way to deal with remainders?
I am making a calendar in batch that will account for leap years. I want to take the date and divide it by 4. If it has a remainder then it is not a leap year, if it does not then it is a leap year. I cannot find any way to draw out the remainder.
I am making a calendar in batch that will account for leap years. I want to take the date and divide it by 4. If it has a remainder then it is not a leap year, if it does not then it is a leap year. I cannot find any way to draw out the remainder.