XML technologies / XSLT / XSLT and XPath functions

(Excerpt from “XSLT 2.0 & XPath 2.0” by Frank Bongers, chapter 5, translated from German)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

Category: Rounding functions for numeric types

Name

Origin

Usage

fn:abs()

XPath 2.0

absolute value of the input number

fn:ceiling()

XPath 1.0

rounding up of the input number

fn:floor()

XPath 1.0

rounding down of the input number

fn:round()

XPath 1.0

rounding up or down of the input number

fn:round-half-to-even()

XPath 2.0

rounding with variable precision

   

 

 

 

back to top