Template:Convert/numdisp/frac0: Difference between revisions

m
Text replacement - ". [[Category:" to ". [[Category:"
(Created page with "<includeonly><span style="white-space:nowrap">{{#ifexpr:{{{1}}}<0|−<sup>{{#expr:-{{{1}}}}}</sup>|<sup>{{{1}}}</sup>}}⁄<sub>{{{4}}}</sub></span></includeonly><noinclude...")
 
m (Text replacement - ". [[Category:" to ". [[Category:")
 
(3 intermediate revisions by 3 users not shown)
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>Produces a fraction {{frac|''a''|''d''}} where ''a'' is parameter 1 & ''d'' is parameter 4. Converts a hyphen into a true minus sign.
<includeonly><span style="white-space:nowrap">{{#ifexpr:{{{1}}}<0|−<sup>{{#expr:-{{{1}}}}}</sup>|<sup>{{{1}}}</sup>}}&frasl;<sub>{{{4}}}</sub></span></includeonly><noinclude>
[[Category:Convert templates]]
 
</noinclude>
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>