From The Document Foundation Wiki
- If Bottom is greater than Top, the function returns an error value.
- If both Bottom and Top are equal then the function returns that same value.
- If arguments are not integer, then they are rounded to nearest integer either above or below, i.e. they truncated to integers. For eg. 5.4 is rounded to 5, 5.6 to 6 and 5.5 to 6.