number floor (number) [xpath]

Standard excerpt:

The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.
Examples (xslt:xml): Overview
48:2

Interactive xlab: [number functions] [xsl:value-of] [xsl:template]