Difference between revisions of "FR/Documentation/Calc: fonction ALEA"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: __NOTOC__ == ALEA == Renvoie un nombre aléatoire entre 0 et 1. === Syntaxe : === <tt>'''ALEA()'''</tt> : Cette fonction produit un nouveau nombre aléatoire à chaque fois que Calc fait...)
 
m (Catégorie et paramètre de tri.)
 
(2 intermediate revisions by 2 users not shown)
Line 23: Line 23:
  
 
'''[[Documentation/FR/Calc:_Fonctions_mathématiques|Fonctions mathématiques]]'''
 
'''[[Documentation/FR/Calc:_Fonctions_mathématiques|Fonctions mathématiques]]'''
 +
 +
{{PDL1}}
 +
 +
[[Category: Calc/Fonctions/FR|ALEA]]

Latest revision as of 13:12, 6 May 2009


ALEA

Renvoie un nombre aléatoire entre 0 et 1.

Syntaxe :

ALEA()

Cette fonction produit un nouveau nombre aléatoire à chaque fois que Calc fait un recalcul, supérieur ou égal à 0 mais inférieur à 1.
Pour forcer Calc à recalculer, appuyez sur Maj+Ctrl+F9.
Pour générer un nombre aléatoire qui n'est jamais recalculé, copiez une cellule contenant =RAND(), et utilisez Édition - Collage spécial (avec Tout insérer et Formules non séléctionnés et Nombres sélectionné).

Exemple:

ALEA()

renvoie un nombre aléatoire entre 0 (inclus) et 1 (exclus).

ALEA()*(b-a) + a

renvoie un nombre réel entre a et b.

Voir également :

ALEA.ENTRE.BORNES

Fonctions mathématiques

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools