diff --git a/src/functions-reference/real-valued_basic_functions.qmd b/src/functions-reference/real-valued_basic_functions.qmd index 847794f67..e0e2c6648 100644 --- a/src/functions-reference/real-valued_basic_functions.qmd +++ b/src/functions-reference/real-valued_basic_functions.qmd @@ -783,8 +783,10 @@ calculations, but the result is likely to be reduced acceptance probabilities and less efficient sampling. The rounding functions cannot be used as indices to arrays because -they return real values. Stan may introduce integer-valued versions -of these in the future, but as of now, there is no good workaround. +they return real values. For operations over `data` or in the +`generated quantities` block, the +[`to_int()` function](integer-valued_basic_functions.qmd#casting-functions) + can be used. \index{{\tt \bfseries floor }!{\tt (T x): R}|hyperpage}