Le 27/05/2020 à 22:40, Uwe Brauer a écrit :

> Hi
>
>
> I have a org table and want to add a new colum, which natural numbers
> which are randomly ordered 
>
> So I tried 
>
> #+TBLFM: $1=@#-1::$4=random($1@4);f1
>
> But the column contains real numbers
>
> What can I do
>
> Uwe Brauer 
>
>
What about:
#+TBLFM: $4=random($1);f0

In row 67 you would have a random integer in the range [0..67)
f0 format removes any fractional part leaving only an integer number


Reply via email to