( 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)
| 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 ) |
no outgoing calls
no test coverage detected