Ceil
Revision as of 23:19, 15 March 2020 by ZachStrout (talk | contribs) (Created page with "<c>ceil</c> Returns the "ceiling", i.e. closest whole number greater than or equal to the given number. See also: floor === Arguments === {| class="wikitable" |- ! Para...")
ceil
Returns the "ceiling", i.e. closest whole number
greater than or equal to the given number.
See also: floor
Arguments
Parameter Name | Default Value | Meaning |
---|---|---|
x | number, default 0 | number to get the ceiling of |
Example
ceil(41.2) // returns 42