Comment 4 for bug 107700

Revision history for this message
Séb (sebastien-dumortier) wrote : Re: [Bug 107700] Re: random numbers

Yes, certainly, but it wasn't this mistake ;-)

Le jeudi 19 avril 2007 à 13:27 +0000, Philip Paquette a écrit :
> Also,
>
> if you use the random normal generator and you don't set an approximate
> number of digits after the decimal, the output of rand() will be
> correct, but the cell will round the number by itself.
>
> e.g. in cells rounds so it has 0 digits after the decimal.
>
> 0.423489324234 -> 0
> 0.543589423423 -> 1
>
> You might want to make sure you have enough digits after the decimal.
>