We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Cette traduction est incomplète. Aidez à traduire cet article depuis l'anglais.


math:max() returns the maximum value of a node-set.

To compute the maximum value of the node-set, the node set is sorted into descending order as it would be using xsl:sort() with a data type of number. The maximum value is then the first node in the sorted list, converted into a number.

Note : 

Syntax

math:max(nodeSet)

Arguments

nodeSet
The node-set whose highest value is to be returned.

Returns

A result tree fragment representing the highest valued node's numeric value as a string.

Defined

EXSLT - MATH:MAX

Gecko support

Supported in Gecko 1.9 and later.

Étiquettes et contributeurs liés au document

Étiquettes : 
Contributeurs à cette page : SphinxKnight, Mgjbot, Fredchat
Dernière mise à jour par : SphinxKnight,