Translations:Documentation/Calc Functions/RANDBETWEEN/15/en

From The Document Foundation Wiki
Jump to: navigation, search
  • 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.