User Tools

Site Tools


en:ceil

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:ceil [2016/08/12 11:51]
admin
en:ceil [2016/08/13 07:34] (current)
admin
Line 11: Line 11:
 Returns the lowest integer that is greater than or equal to [[expressions|expression]]. Returns the lowest integer that is greater than or equal to [[expressions|expression]].
  
-==== Example ==== +^Value^int()^ceil()^floor()^ 
- +|-4.56|-4|-4|-5| 
-<​code>​ +|-0.56|0|0|-1| 
-print ceil(9.1) +|0.56|0|1|0| 
-print ceil(-5.4) +|5.56|5|6|5|
-</​code>​ +
-will print +
-<​code>​ +
-10 +
--5 +
-</​code>​+
  
 ==== See Also ==== ==== See Also ====
 {{page>​en:​start#​Mathematics&​noheader}} {{page>​en:​start#​Mathematics&​noheader}}
  
en/ceil.txt · Last modified: 2016/08/13 07:34 by admin