User Tools

Site Tools


en:ceil

Differences

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

Link to this comparison view

Next revision
Previous revision
en:ceil [2016/01/01 22:40]
127.0.0.1 external edit
en:ceil [2020/02/28 10:46] (current)
Line 3: Line 3:
 ==== Format ==== ==== Format ====
  
-**ceil** ( //numeric_expr// )+**ceil** ( [[numericexpressions|numeric_expression]] )
  
-returns //integer_value//+returns [[integerexpressions|integer_expression]]
  
 ==== Description ==== ==== Description ====
  
-Returns the lowest integer that is greater than or equal to //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.1451713235.txt.gz · Last modified: 2020/02/28 10:46 (external edit)