Test For Leap Year #145
Locked
northwesttreesgaming
announced in
Procedure Projects
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This procedure was made on MCreator 2024.1 though should work on some older versions of MCreator. What it will do is it will calculate the leap year by testing if the year is divisible meaning a solid number. The math for centuries is divided by 400 where every other year needs to be divided by 4 to get a divisible number. If the number has a decimal point then it is not a leap year and will return false.
Beta Was this translation helpful? Give feedback.
All reactions