Template:Ceil: Difference between revisions

From Vigyanwiki
Template>Verdy p
mNo edit summary
Template>Verdy p
mNo edit summary
Line 30: Line 30:
[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Mathematical templates|{{PAGENAME}}]]


[[fr:Modèle:Floor]]
[[fr:Modèle:Ceil]]


</noinclude>
</noinclude>

Revision as of 12:38, 26 April 2006

Template:Template documentation Implements the mathematical ceil function.

Usage:
{{Ceil|value}}
Examples:
  • {{Ceil|3.9}} = 4.
  • {{Ceil|3.5}} = 4.
  • {{Ceil|3.1}} = 4.
  • {{Ceil|3.0}} = 3.
  • {{Ceil|1.0}} = 1.
  • {{Ceil|0.9}} = 1.
  • {{Ceil|0.5}} = 1.
  • {{Ceil|0.1}} = 1.
  • {{Ceil|0.0}} = 0.
  • {{Ceil|-0.1}} = 0.
  • {{Ceil|-0.5}} = 0.
  • {{Ceil|-0.9}} = 0.
  • {{Ceil|-1.0}} = -1.
  • {{Ceil|-3.0}} = -3.
  • {{Ceil|-3.2}} = -3.
  • {{Ceil|-3.5}} = -3.
  • {{Ceil|-3.9}} = -3.
See also: