math:min()
math:min() returns the minimum value of a node-set.
`math:min()` returns the minimum value of a node-set.
To compute the minimum value of the node-set, the node set is sorted into ascending order as it would be using [`xsl:sort()`](/docs/Web/XML/XSLT/Reference/Element/sort) with a data type of `number`. The minimum value is then the first node in the sorted list, converted into a number.
## Syntax
```plain
math:min(nodeSet)
```
### Parameters
- `nodeSet`
- : The node-set whose lowest value is to be returned.
### Return value
A result tree fragment representing the lowest valued node's numeric value as a string.
## Specifications
[EXSLT - MATH:MIN](https://exslt.github.io/math/functions/min/index.html)
Cite this
"math:min()". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/XML/EXSLT/Reference/math/min JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy