c_op_ar.htm

来自「Delphi脚本控件」· HTM 代码 · 共 167 行

HTM
167
字号
<html>
<head>
<link rel=stylesheet type="text/css" href="styles.css">
</head>
<body>

<h3>
paxC Arithmetic Operators
</h3>

<table border="1">
<tr>
<th>Language Element</th>
<th>Short Description</th>
</tr>
<tr>
<td><a href="#Multiplication Operator (*)"><b>Multiplication Operator (*)</b></a></td>
<td>Multiplies two numbers.</td>
</tr>
<tr>
<td><a href="#Division Operator (/)"><b>Division Operator (/)</b></a></td>
<td>Divides two numbers and returns a floating-point result.</td>
</tr>
<tr>
<td><a href="#Modulus Operator (%)"><b>Modulus Operator (%)</b></a></td>
<td>Divides two numbers and returns only the remainder.</td>
</tr>
<tr>
<td><a href="#Addition Operator (+)"><b>Addition Operator (+)</b></a></td>
<td>Sums two numbers.</td>
</tr>
<tr>
<td><a href="#Subtraction Operator (-)"><b>Subtraction Operator (-)</b></a></td>
<td>Finds the difference between two numbers or indicates the negative value of a numeric expression.</td>
</tr>
</table>
<a name="Multiplication Operator (*)"><h3>Multiplication Operator (*)</h3></a>
<!-------------------------------------------------------------------->
<blockquote>
Multiplies two numbers.
<pre>
result = number1*number2
</pre>
<H4>
Arguments
</H4>
<blockquote>
<i>result</i>
<blockquote>
Any numeric variable
</blockquote>
</blockquote>
<blockquote>
<i>number1, number2</i>
<blockquote>
Any numeric expression
</blockquote>
</blockquote>
If one or both expressions are Null expressions, <font color="black"><i>result</i></font> is Null.
</blockquote>
<a name="Division Operator (/)"><h3>Division Operator (/)</h3></a>
<!-------------------------------------------------------------------->
<blockquote>
Divides two numbers and returns a floating-point result.
<pre>
result = number1/number2
</pre>
<H4>
Arguments
</H4>
<blockquote>
<i>result</i>
<blockquote>
Any numeric variable
</blockquote>
</blockquote>
<blockquote>
<i>number1, number2</i>
<blockquote>
Any numeric expressions
</blockquote>
</blockquote>
If one or both expressions are Null expressions, <font color="black"><i>result</i></font> is Null.
</blockquote>
<a name="Modulus Operator (%)"><h3>Modulus Operator (%)</h3></a>
<!-------------------------------------------------------------------->
<blockquote>
Divides two numbers and returns only the remainder.
<pre>
result = number1 % number2
</pre>
<H4>
Arguments
</H4>
<blockquote>
<i>result</i>
<blockquote>
Any numeric variable
</blockquote>
</blockquote>
<blockquote>
<i>number1, number2</i>
<blockquote>
Any numeric expressions
</blockquote>
</blockquote>
If one or both expressions are Null expressions, <font color="black"><i>result</i></font> is Null.
</blockquote>
<a name="Addition Operator (+)"><h3>Addition Operator (+)</h3></a>
<!-------------------------------------------------------------------->
<blockquote>
Sums two numbers.
<pre>
result = number1 + number2
</pre>
<H4>
Arguments
</H4>
<blockquote>
<i>result</i>
<blockquote>
Any numeric variable
</blockquote>
</blockquote>
<blockquote>
<i>number1, number2</i>
<blockquote>
Any numeric expressions
</blockquote>
</blockquote>
If one or both expressions are Null expressions, <font color="black"><i>result</i></font> is Null.
</blockquote>
<a name="Subtraction Operator (-)"><h3>Subtraction Operator (-)</h3></a>
<!-------------------------------------------------------------------->
<blockquote>
Finds the difference between two numbers or indicates the negative value of a numeric expression.
<pre>
result = number1-number2
<font color="blue"><b>or</b></font>
result = - number
</pre>
<H4>
Arguments
</H4>
<blockquote>
<i>result</i>
<blockquote>
Any numeric variable
</blockquote>
</blockquote>
<blockquote>
<i>number1, number2</i>
<blockquote>
Any numeric expression
</blockquote>
</blockquote>
If one or both expressions are Null expressions, <font color="black"><i>result</i></font> is Null.
</blockquote>
<p>
<HR>
<font size = 1 color ="gray">
Copyright &copy; 1999-2005
VIRT Laboratory. All rights reserved.
</font>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?