Template:DECADE/doc

This template computes the decade for the Gregorian year in parameter.

Syntax

 * NaNs


 * The year must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).

Examples

 * 0s returns 0s
 * 60s returns 60s
 * 580s returns 580s
 * 1730s returns 1730s
 * 1890s returns 1890s
 * 1900s returns 1900s
 * 1900s returns 1900s
 * 1910s returns 1910s
 * 1960s returns 1960s
 * 1990s returns 1990s
 * 2000s returns 2000s
 * 2000s returns 2000s
 * 2010s returns 2010s
 * 2090s returns 2090s
 * 2100s returns 2100s
 * 2100s returns 2100s