mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 08:39:30 +08:00
46 lines
2.5 KiB
HTML
46 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>BIN2HEX Function</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="" />
|
|
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../../../../../../common/main/resources/help/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>BIN2HEX Function</h1>
|
|
<p>The <b>BIN2HEX</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#engineering" onclick="onhyperlinkclick(this)">engineering functions</a>. It is used to convert a binary number into a hexadecimal number.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>BIN2HEX(number, [places])</em></b></p>
|
|
<p>The <b>BIN2HEX</b> function has the following arguments:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Description</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>number</em></b></td>
|
|
<td>A binary number entered manually or included into the cell you make reference to.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>places</em></b></td>
|
|
<td>The number of digits to display. If omitted, the function will use the minimum number.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Notes</h3>
|
|
<p>If the argument is not recognised as a binary number, or contains more than 10 characters, or the resulting hexadecimal number requires more digits than you specified, or the specified <b><em>places</em></b> number is less than or equal to 0, the function will return the <b>#NUM!</b> error.</p>
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>BIN2HEX</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>BIN2HEX</b> function.</p>
|
|
<p><img alt="BIN2HEX Function" src="../images/bin2hex.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |