Template:Ceil

From Vigyanwiki
Revision as of 02:16, 25 April 2006 by Template>Verdy p
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Template documentation Implements the mathematical ceil function.

Usage:
{{ceil|value}}
Examples:
  • {{ceil|3.9}} = 3.
  • {{ceil|3.5}} = 3.
  • {{ceil|3.1}} = 3.
  • {{ceil|3.0}} = 3.
  • {{ceil|1.0}} = 1.
  • {{ceil|0.9}} = 0.
  • {{ceil|0.5}} = -0.
  • {{ceil|0.1}} = -0.
  • {{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}} = -4.
  • {{ceil|-3.5}} = -4.
  • {{ceil|-3.9}} = -4.
See also: