bsp;rand)</pre>
<div class="block">Rounds a double to the next nearest integer value in a probabilistic
 fashion (e.g. 0.8 has a 20% chance of being rounded down to 0 and a 80%
 chance of being rounded up to 1). In the limit, the average of the rounded
 numbers generated by this procedure should converge to the original double.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the double value</dd><dd><code>rand</code> - the random number generator</dd>
<dt><span class="stro