mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 01:15:22 +08:00
79 lines
3.0 KiB
HTML
79 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>ROMAN 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>ROMAN Function</h1>
|
|
<p>The <b>ROMAN</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#mathtrigonometry" onclick="onhyperlinkclick(this)">math and trigonometry functions</a>. The function is used to convert a number to a roman numeral.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>ROMAN(number, [form])</em></b></p>
|
|
<p>The <b>ROMAN</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 numeric value greater than or equal to 1 and less than 3999.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>form</em></b></td>
|
|
<td>A roman numeral type. It is an optional argument. The possible values are listed in the table below.</td>
|
|
</tr>
|
|
</table>
|
|
<p>The <b><em>form</em></b> argument can be one of the following:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4"><b>Value</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Type</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>0</em></b></td>
|
|
<td>Classic</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>1</em></b></td>
|
|
<td>More concise</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>2</em></b></td>
|
|
<td>More concise</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>3</em></b></td>
|
|
<td>More concise</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>4</em></b></td>
|
|
<td>Simplified</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>TRUE</em></b></td>
|
|
<td>Classic</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>FALSE</em></b></td>
|
|
<td>Simplified</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Notes</h3>
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>ROMAN</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>ROMAN</b> function.</p>
|
|
<p><img alt="ROMAN Function" src="../images/roman.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |