Difference between revisions of "Documentation/How Tos/Calc: RAND function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
m |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:RAND function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_PRODUCT_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_RANDBETWEEN_function | ||
+ | }}__NOTOC__ | ||
== RAND == | == RAND == | ||
Line 8: | Line 13: | ||
: This function produces a new random number each time Calc recalculates, greater than or equal to 0, and less than 1. | : This function produces a new random number each time Calc recalculates, greater than or equal to 0, and less than 1. | ||
− | : To force Calc to recalculate manually press Shift | + | : To force Calc to recalculate manually press {{key|Shift|Ctrl|F9}}. |
: To generate a random number which never recalculates, copy a cell containing <tt>'''=RAND()'''</tt>, and use Edit - Paste Special... (with Paste All and Formulas <u>not</u> selected and Numbers selected). | : To generate a random number which never recalculates, copy a cell containing <tt>'''=RAND()'''</tt>, and use Edit - Paste Special... (with Paste All and Formulas <u>not</u> selected and Numbers selected). | ||
Line 19: | Line 24: | ||
: returns a random real number between <tt>'''a'''</tt> and <tt>'''b'''</tt>. | : returns a random real number between <tt>'''a'''</tt> and <tt>'''b'''</tt>. | ||
− | {{ | + | {{SeeAlso|EN| |
− | * [[Documentation/How_Tos/Calc: RANDBETWEEN function|RANDBETWEEN]] | + | * [[Documentation/How_Tos/Calc: RANDBETWEEN function|RANDBETWEEN]] |
− | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] |
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 15:38, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
-