Files
Maxim Kadushkin 035166509d Merge pull request #2755 from ONLYOFFICE/feature/update-lunr-without-kor
Feature/update lunr without kor
2023-12-21 16:25:39 +03:00

71 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>N 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>N Function</h1>
<p>The <b>N</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#information" onclick="onhyperlinkclick(this)">information functions</a>. It is used to convert a value to a number.</p>
<h3>Syntax</h3>
<p><b><em>N(value)</em></b></p>
<p>The <b>N</b> function has the following argument:</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>value</em></b></td>
<td>A value to test.</td>
</tr>
</table>
<p>The <b><em>value</em></b> argument can be one of the following:</p>
<table style="width: 30%">
<tr>
<th style="background-color: #f4f4f4"><b>Value</b></th>
<th style="background-color: #f4f4f4"><b>Number</b></th>
</tr>
<tr>
<td>number</td>
<td>number</td>
</tr>
<tr>
<td>date</td>
<td>date as serial number</td>
</tr>
<tr>
<td>TRUE</td>
<td>1</td>
</tr>
<tr>
<td>FALSE</td>
<td>0</td>
</tr>
<tr>
<td>error</td>
<td>error value</td>
</tr>
<tr>
<td>Other</td>
<td>0</td>
</tr>
</table>
<h3>Notes</h3>
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>N</b> function.</p>
<h3>Examples</h3>
<p>The figure below displays the result returned by the <b>N</b> function.</p>
<p><img alt="N Function" src="../images/n.png" /></p>
</div>
</body>
</html>