siècle de l'année javascript

function centuryFromYear(year) {
    return Math.ceil(year/100)
}
Arrogant Anteater