fn:round-half-to-even(numeric? $srcval) → numeric?
Function signature
$srcval |
numeric ? |
Result |
numeric ? |
fn:round-half-to-even(numeric? $srcval, integer $precision) → numeric?
Function signature
$srcval |
numeric ? |
$precision |
xs:integer |
Result |
numeric ? |
Note: In the case of doubles and floats, rounding errors may occur giving unexpected effects.