Changes

Jump to: navigation, search

Template:Convert/numdisp/frac

159 bytes removed, 20:05, 10 April 2020
no edit summary
-- Process fraction parts by negative/zero/positive (-1,0,1)
--============================================================
 -->{{documentation|content=This subtemplate is called by {{tl|convert/numdisp}} and by {{tl|convert/and/frn1}} to process fractions according to whether the whole number part (i.e. the ''a'' in {{frac|''a''|''b''|''c''}}see NOTES below) is positive, negative or zero calling {{tl|convert/numdisp/frac1}}, {{tl|convert/numdisp/frac-1}} or {{tl|convert/numdisp/frac0}} respectively.}}<!--  
--></noinclude>{{convert/numdisp/frac{{
#expr:( {{{2|-6-3}}}*0>0 or {{#ifeq: 0+ |{{padleft:|2|{{{2|-6-3}}}x }} |1 |0}} ) - ( {{{2|-6-3}}}*0<0) }}
|{{{2|-6-3}}}|{{#expr:{{{2|-6-3}}}*0}}|{{#expr:0*{{{2|-6-3}}}}}|{{{3|8}}}}}<noinclude><!--
--------------------------------------------------------------
--19Nov10 Put HISTORY comments to log major changes.
--28Jun11 Merge back to {{Convert/numdisp/frac}}
--04Jun14 Changed to allow "0+" as whole-number portion.
--04Jun14 Moved doc text to bottom as normal format.
--
-- ** Add interwiki links on docpage to limit changes here **
-->
[[Category:Subtemplates of Template Convert|{{PAGENAME}}]]
</noinclude>



Navigation menu