From f510a356470daf900f0ce02548f71ae5b12401d9 Mon Sep 17 00:00:00 2001 From: twanvl Date: Wed, 27 Aug 2008 11:58:29 +0000 Subject: [PATCH] typo in documentation git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1173 0fc631ac-6414-0410-93d0-97cfa31319b6 --- doc/function/random_boolean.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/function/random_boolean.txt b/doc/function/random_boolean.txt index 54c131e2..c603d17e 100644 --- a/doc/function/random_boolean.txt +++ b/doc/function/random_boolean.txt @@ -5,7 +5,7 @@ DOC_MSE_VERSION: since 0.3.8 --Usage-- > random_boolean(probability) -Returns a random [[type:bool]], either @true@ or @false. +Returns a random [[type:bool]], either @true@ or @false@. The parameter is the probability of returning @true@, so @random_boolean(0.0)@ always returns @true@, @random_boolean(1.0)@ always returns @false@ and @random_boolean(0.5)@ simulates a fair coin toss. Since the result is random, calling the function twice will give a different answer.