From 28ebfc7274fef006e698a6f9e838eeb3c145cc3f Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Mon, 6 Mar 2023 14:37:40 +0100 Subject: [PATCH] Fixes --- Frontend/tools/xpath.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/tools/xpath.html b/Frontend/tools/xpath.html index 56ce96a..b5451d3 100644 --- a/Frontend/tools/xpath.html +++ b/Frontend/tools/xpath.html @@ -1515,7 +1515,7 @@ class="hyperlink collapsible collapsibleMini collapseTrigger">fn:round(number)
- The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned. If the argument is NaN, then NaN is returned. If the argument is positive infinity, then positive infinity is returned. If the argument is negative infinity, then negative infinity is returned. If the argument is positive zero, then positive zero is returned. If the argument is negative zero, then negative zero is returned. If the argument is less than zero, but greater than or equal to -0.5, then negative zero is returned. + The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned. If the argument is NaN, then NaN is returned. If the argument is positive infinity, then positive infinity is returned. If the argument is negative infinity, then negative infinity is returned. If the argument is positive zero, then positive zero is returned. If the argument is negative zero, then negative zero is returned. If the argument is less than zero, but greater than or equal to -0.5, then negative zero is returned.
NOTE: For these last two cases, the result of calling the round function is not the same as the result of adding 0.5 and then calling the floor function.
Arguments and return type: