Template:Convert/numdisp/frac0: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
m (Text replacement - ". " to ". ")
Line 1: Line 1:
<includeonly><span style="white-space:nowrap">{{#ifexpr:{{{1}}}<0|−<sup>{{#expr:-{{{1}}}}}</sup>|<sup>{{{1}}}</sup>}}&frasl;<sub>{{{4}}}</sub></span></includeonly><noinclude>
<includeonly><span style="white-space:nowrap">{{#ifexpr:{{{1}}}<0|−<sup>{{#expr:-{{{1}}}}}</sup>|<sup>{{{1}}}</sup>}}&frasl;<sub>{{{4}}}</sub></span></includeonly><noinclude>


Produces a fraction frac|''a''|''d'' where ''a'' is parameter 1 & ''d'' is parameter 4. Converts a hyphen into a true minus sign.
Produces a fraction frac|''a''|''d'' where ''a'' is parameter 1 & ''d'' is parameter 4. Converts a hyphen into a true minus sign.
[[Category:Convert templates]]</noinclude>
[[Category:Convert templates]]</noinclude>

Revision as of 10:32, October 22, 2021


Produces a fraction frac|a|d where a is parameter 1 & d is parameter 4. Converts a hyphen into a true minus sign.