Template:Ceil: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Verdy p mNo edit summary |
meta>Verdy p mNo edit summary |
||
Line 3: | Line 3: | ||
; Usage<nowiki>:</nowiki> | ; Usage<nowiki>:</nowiki> | ||
: <tt><nowiki>{{</nowiki> | : <tt><nowiki>{{</nowiki>{{PAGENAME}}|</tt>''value''<tt><nowiki>}}</nowiki></tt> | ||
; Examples<nowiki>:</nowiki> | ; Examples<nowiki>:</nowiki> | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>3.9<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|3.9}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>3.5<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|3.5}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>3.1<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|3.1}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>3.0<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|3.0}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>1.0<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|1.0}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>0.9<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|0.9}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>0.5<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|0.5}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>0.1<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|0.1}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>0.0<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|0.0}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-0.1<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-0.1}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-0.5<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-0.5}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-0.9<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-0.9}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-1.0<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-1.0}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-3.0<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-3.0}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-3.2<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-3.2}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-3.5<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-3.5}}. | ||
* <nowiki>{{ | * <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>-3.9<nowiki>}}</nowiki></tt> = {{{{PAGENAME}}|-3.9}}. | ||
; See also<nowiki>:</nowiki> | ; See also<nowiki>:</nowiki> | ||
* [[Template:Floor]] | * [[Template:Floor]] | ||
[[Category:Templates using ParserFunctions| | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
[[Category:Mathematical templates| | [[Category:Mathematical templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 22:30, 24 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: