> For the complete documentation index, see [llms.txt](https://v5docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v5docs.keyfax.biz/reference/expression-reference/numeric-expressions/rnd.md).

# Rnd

Returns a random number between 0 and 1.

| Expression                  | Databox value | Result   |
| --------------------------- | ------------- | -------- |
| `Number + Rnd Format("F4")` | `1`           | `1.8946` |

`Rnd` takes no arguments and ignores the databox value, so it can only appear as an argument to another function or after an operator.

A fresh number comes back every time the expression is evaluated. Anything that has to stay the same for the rest of the conversation should be worked out once and written into a databox, not recalculated wherever it is needed.
