Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

century from year javascript

function centuryFromYear(year) {
    return Math.ceil(year/100)
}
 
PREVIOUS NEXT
Tagged: #century #year #javascript
ADD COMMENT
Topic
Name
7+3 =