web-apps/apps/spreadsheeteditor/main/resources/help/en/Functions/randarray.htm
Julia Radzhabova c53da942ba Update help
2021-02-10 18:21:46 +03:00

43 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>RANDARRAY Function</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>RANDARRAY Function</h1>
<p>The <b>RANDARRAY</b> function is one of the math and trigonometry functions. It is used to return an array of random numbers and can be configured to fill a certain number of rows and columns, set a range for values, or return whole/decimal numbers.</p>
<p>The <b>RANDARRAY</b> function syntax is:</p>
<p style="text-indent: 150px;"><b><em>RANDARRAY([rows],[columns],[min],[max],[whole_number])</em></b></p>
<p><em>where</em></p>
<p style="text-indent: 50px;"><b><em>rows</em></b> is an optional argument indicating the number of rows to be returned. If the argument is not given, the function will return a value between 0 and 1.</p>
<p style="text-indent: 50px;"><b><em>columns</em></b> is an optional argument indicating the number of columns to be returned. If the argument is not given, the function will return a value between 0 and 1.</p>
<p style="text-indent: 50px;"><b><em>min</em></b> is an optional argument indicating the minimum number to be returned. If the argument is not given, the function will default to 0 and 1.</p>
<p style="text-indent: 50px;"><b><em>max</em></b> is an optional argument indicating the maximum number to be returned. If the argument is not given, the function will default to 0 and 1.</p>
<p style="text-indent: 50px;"><b><em>whole_number</em></b> is an optional TRUE or FALSE argument. If TRUE, the function will return a whole number; FALSE will return a decimal one.</p>
<p>To apply the <b>RANDARRAY</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>
<li>
click the <b>Insert function</b> <img alt="Insert function icon" src="../images/insertfunction.png" /> icon situated at the top toolbar,
<br />or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
<br />or click the <img alt="Function icon" src="../images/function.png" /> icon situated at the formula bar,
</li>
<li>select the <b>Math and trigonometry</b> function group from the list,</li>
<li>click the <b>RANDARRAY</b> function,</li>
<li>enter the arguments separating them by commas,</li>
<li>press the <b>Enter</b> button.</li>
</ol>
<p>The result will be displayed in the selected cell.</p>
<p style="text-indent: 150px;"><img alt="RANDARRAY Function" src="../images/randarray.png" /></p>
</div>
</body>
</html>