-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path1065.html
More file actions
53 lines (42 loc) · 2.21 KB
/
Copy path1065.html
File metadata and controls
53 lines (42 loc) · 2.21 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<title>Ayuda de DIV 2 - /</title>
<meta name="keywords" content="div, div2" />
<meta name="description" content="Ayuda en pantalla de DIV Games Studio 2" />
<meta http-equiv="Content-Language" content="ES" />
<meta name="author" content="Hammer Technologies" />
<meta name="copyright" content="© Copyright 1998,99 Hammer Technologies" />
<meta name="generator" content="divhelp v0.1 © 2007 Er_Makina" />
<meta name="robots" content="all,follow,index" />
<meta name="distribution" content="global" />
<link href="estilo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="botonera">
<ul>
<li><a class="botonindice" href="indice.html">Índice</a></li>
<li><a class="botoninicio" href="3.html">Inicio</a></li>
<li><a class="botonglosario" href="4.html">Glosario</a></li>
<li><a class="botonfunciones" href="1032.html">Funciones</a></li>
</ul>
</div>
<h1>/</h1>
<p>Operador aritmético de <strong>división</strong> entera. Este operador se
utiliza en las <a href="1035.html">expresiones aritméticas</a> entre dos operandos, para
obtener el cociente del primero partido por el segundo.</p>
<p>Por ejemplo <strong>7 / 3</strong> devolverá 2, ya que al realizar la división
entera de 7 entre 3 se obtiene <strong>2</strong> como <strong>cociente</strong> (y 1 como
resto).</p>
<p>Es decir, que <strong>n / m</strong> siempre devolverá el resultado de la
división de <strong>n</strong> entre <strong>m</strong>, pero sin decimales (ya que
todas las variables son <strong>enteros</strong> con signo de 32 bits en el lenguaje).</p>
<hr />
<p>El <strong>resto</strong> de una división entera se obtiene con el operador <a
href="1048.html">MOD</a> (módulo).</p>
<hr />
Ver: <a href="1000.html">Sintaxis</a> - <a href="1035.html">Expresión</a>
</body>
</html>