-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathround.html
More file actions
28 lines (22 loc) · 1.13 KB
/
round.html
File metadata and controls
28 lines (22 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- SECCIÓN ROUND NUMERIC FUNCTION -->
<div id="round-section">
<div id="adsense-container" style="width: 350px; position: absolute; left: 0px;"></div>
<div class="inner-modal">
<div class="inner" style="padding: 0px;">
<h1>SQL ROUND() Function</h1>
<p>The <strong>ROUND()</strong> function returns a number rounded to the nearest specified decimal position.
</p>
<h2>Syntax</h2>
<pre><code class="language-sql">ROUND(number, decimals)</code></pre>
<h2>Parameter Values</h2>
<ul>
<li><strong>number</strong>: Required. The numeric value to round.</li>
<li><strong>decimals</strong>: Optional. The number of decimal places to round to. If omitted, the
result will be an integer (no decimals).</li>
</ul>
<h2>ROUND() Example</h2>
<p>The following SQL statement rounds <strong>135.375</strong> to 2 decimal places:</p>
<pre><code class="language-sql">SELECT ROUND(135.375, 2);</code></pre>
</div>
</div>
</div>