XSLT Esbudellat

fn:round-half-to-even(input, precision?)

Darrera modificació 2011-04-24

Rep un primer paràmetre de tipus numèric (xs:integer, xs:float, xs:double o xs:decimal) i retorna el nombre més proper. Opcionalment pot rebre un segon paràmetre de tipus xs:integer que indica la precisió.

En el cas que els dos enters més propers siguin equidistants, optarà pel parell.

Versió:
XPath 2.0
Referència:
http://www.w3.org/TR/xpath-functions/#func-round-half-to-even
Conceptes relacionats: