MCPcopy Index your code
hub / github.com/processing/processing / ceil

Method ceil

core/src/processing/core/PApplet.java:4917–4919  ·  view source on GitHub ↗

( begin auto-generated from ceil.xml ) Calculates the closest int value that is greater than or equal to the value of the parameter. For example, ceil(9.03) returns the value 10. ( end auto-generated ) @webref math:calculation @param n number to round up @see PApplet#floor(float) @see PAppl

(float n)

Source from the content-addressed store, hash-verified

4915 * @see PApplet#round(float)
4916 */
4917 static public final int ceil(float n) {
4918 return (int) Math.ceil(n);
4919 }
4920
4921/**
4922 * ( begin auto-generated from floor.xml )

Callers 5

addPolyVertexMethod · 0.95
setPolyVertexMethod · 0.95
modelviewCoordsMethod · 0.95
parsePathArctoMethod · 0.95
zoomMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected