Created
February 20, 2024 00:45
-
-
Save ValchanOficial/3a6070676f2be41826bdc690aaee1f53 to your computer and use it in GitHub Desktop.
[JS] centuryFromYear
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function centuryFromYear(year) { | |
return Math.ceil(year / 100) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment