( begin auto-generated from floor.xml ) Calculates the closest int value that is less than or equal to the value of the parameter. ( end auto-generated ) @webref math:calculation @param n number to round down @see PApplet#ceil(float) @see PApplet#round(float)
(float n)
| 4931 | * @see PApplet#round(float) |
| 4932 | */ |
| 4933 | static public final int floor(float n) { |
| 4934 | return (int) Math.floor(n); |
| 4935 | } |
| 4936 | |
| 4937 | /** |
| 4938 | * ( begin auto-generated from round.xml ) |
no outgoing calls
no test coverage detected