web-apps/apps/spreadsheeteditor/main/resources/help/en/Functions/bitlshift.htm

42 lines
2.4 KiB
HTML
Raw Normal View History

2017-09-20 08:31:59 +00:00
<!DOCTYPE html>
<html>
<head>
<title>BITLSHIFT Function</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
2022-03-21 03:03:46 +00:00
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
2017-09-20 08:31:59 +00:00
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
2017-09-20 08:31:59 +00:00
<h1>BITLSHIFT Function</h1>
<p>The <b>BITLSHIFT</b> function is one of the engineering functions. It is used to return a number shifted left by the specified number of bits.</p>
<p>The <b>BITLSHIFT</b> function syntax is:</p>
<p style="text-indent: 150px;"><b><em>BITLSHIFT(number, shift_amount)</em></b></p>
<p><em>where</em></p>
<p style="text-indent: 50px;"><b><em>number</em></b> is an integer greater than or equal to 0,</p>
<p style="text-indent: 50px;"><b><em>shift_amount</em></b> is a number of bits by which you want to shift <b><em>number</em></b>, an integer.</p>
<p>The numeric values can be entered manually or included into the cell you make reference to.</p>
<p>Shifting a number left is equivalent to adding zeros (0) to the right of the binary representation of the number.</p>
<p>To apply the <b>BITLSHIFT</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>
2022-03-21 03:03:46 +00:00
<li>click the <b>Insert function</b> <div class = "icon icon-insertfunction"></div> icon situated at the top toolbar,
2017-09-20 08:31:59 +00:00
<br />or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
2022-03-21 03:03:46 +00:00
<br />or click the <div class = "icon icon-function"></div> icon situated at the formula bar,
2017-09-20 08:31:59 +00:00
</li>
<li>select the <b>Engineering</b> function group from the list,</li>
<li>click the <b>BITLSHIFT</b> function,</li>
<li>enter the required arguments separating them by comma,</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="BITLSHIFT Function" src="../images/bitlshift.png" /></p>
</div>
</body>
</html>