Rounds a number up or down to a whole number with a probability equal to how close the starting value is to these whole numbers.
a numerical value.
Stochastis rounding can be helpful in simulations where we need a round number (for instance number individuals) but we calculate based on some percentage. Using this function we will pick reasonable numbers without a bias.
one of the two closest whole numbers is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.