Diferencia entre revisiones de «ceil()»

De ArduWiki
Saltar a: navegación, buscar
(Vea también)
 
(No se muestran 3 ediciones intermedias del mismo usuario)
Línea 4: Línea 4:
 
== Sintaxis ==
 
== Sintaxis ==
 
<pre>
 
<pre>
 +
ceil(valor);
 
ceil(variable);
 
ceil(variable);
 
</pre>
 
</pre>
  
 
== Parámetros ==
 
== Parámetros ==
;variable: variable a operar.
+
;valor: valor tipo [[float]] a operar.
 +
;variable: nombre de variable tipo [[float]] a operar.
  
 
== Retorno ==
 
== Retorno ==
Línea 22: Línea 24:
  
 
== Vea también ==
 
== Vea también ==
* [[abs()]]
+
<categorytree mode=all>Funciones matematicas</categorytree>
* [[constrain()]]
 
* [[map()]]
 
* [[max()]]
 
* [[min()]]
 
* [[sq()]]
 
* [[sqrt()]]
 
* [[log()]]
 
* [[floor()]]
 
  
[[Category:Funciones]]
+
== Referencias externas ==
 +
[[Category:Funciones matematicas]]

Revisión actual del 19:33 11 jun 2019

Descripción

Redondea un numero float hacia arriba.

Sintaxis

ceil(valor);
ceil(variable);

Parámetros

valor
valor tipo float a operar.
variable
nombre de variable tipo float a operar.

Retorno

Retorna un numero tipo long.

Advertencias

Nada.

Ejemplo

ceil(PI);  //4

Vea también


Referencias externas