Saxonica.com

fn:round

fn:round(numeric? $srcval) → numeric?

Function signature

$srcval

numeric ?

Result

numeric ?

Rounds a numeric value to the nearest whole number, rounding x.5 towards positive infinity.

XPath 2.0 Specification

Next