Template:Ceil: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}}|<span style="display: inline-block; transform: scale(1, {{{2}}});">&lceil;</span>|&lceil;}}{{{1}}}{{#if: {{{2|}}}|<span style="display: inline-block; transform: scale(1, {{{2}}});">&rceil;</span>|&rceil;}}</includeonly><noinclude>
<includeonly>{{#if: {{{2|}}}|<span style="display: inline-block; margin-bottom: {{#expr: 4 * ({{{2}}} - 1)}}px; transform: scale(1, {{{2}}});">&lceil;</span>|&lceil;}}{{{1}}}{{#if: {{{2|}}}|<span style="display: inline-block; margin-bottom: {{#expr: 4 * ({{{2}}} - 1)}}px; transform: scale(1, {{{2}}});">&rceil;</span>|&rceil;}}</includeonly><noinclude>
 
{{documentation}}
{{documentation}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 15:51, 17 April 2025

Template documentation[view] [edit] [history] [purge]
English Wikipedia has an article on:

This template is designed to typeset the ceiling function of a variable.

Parameters

{{{1}}}
The expression to be enclosed.
{{{2}}}
The scale factor, used to stretch or compress the ceiling symbols.

Usage

You type You get
{{ceil|''x''}} x
{{ceil|{{sfrac|''x''|''y''}}|1.8}} x/y

See also