289
edits
Changes
no edit summary
|{{Convert/numdisp/frac
|{{{1|-1200-3/118}}}|{{#titleparts:{{{1|-1200-3/118}}}|1|1}}|{{#titleparts:{{{1|-1200-3/118}}}|1|2}}}}<!--split at "/"
--else-->|{{#ifexpr:{{{1|-14000.00}}}*0 = 0 and {{{1|-14000.00}}} < 0
|<!--then re-build negative number (see NOTE Z4 below)
-->{{formatnum:
{{padright:−<!--&minus-->{{#expr:-( {{{1|-14000.00}}} ) }}<!--endexpr
--put decimal if needed-->{{
#ifexpr:{{{1|-14000.00}}}0={{{1|-14000.00}}}
and {{{1|-14000.00}}}=floor( {{{1|-14000.00}}} )|.}}<!--
padlength-->|{{strlen_short#expr: {{str len|{{{1|-14000.00}}}|}}<!--endstrlen_shortendstr len--> + {{ #ifeq:&minus| {{padleft:|6|{{{1|x}}} }} |-6|0}} }}<!--endexpr
-->|0}}<!--endpadright end-zeroes "0" to original length
-->}}<!--endformatnum
--17Feb11 Used {padright:} to re-add end-zeroes on negatives.
--17Feb11 Used #ifexpr:{1}0={1} and floor({1})={1}, to put "."
--30Nov13 Fixed to allow prefix "−" as extra 6 long.
--07Jan14 Fixed to pass negative sum without padding "0".
--
** Add interwiki links to /doc subpage to avoid changes here **
--
-->{{Documentation}}[[Category:Subtemplates of Template Convert]]
</noinclude>