Difference between revisions of "Template:Frac/output"
Jump to navigation
Jump to search
imported>Jimp |
imported>Jimp |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#iferror:{{#expr:{{{1|A}}}+1}} | {{#iferror:{{#expr:{{{1|A}}}+1}} | ||
|{{{1|}}} | |{{{1|}}} | ||
| − | |{{#switch:{{{fmt| | + | |{{#switch:{{{fmt|}}} |
| − | |gaps ={{#invoke: | + | |gaps ={{#invoke:gapnum|main|{{#invoke:String|replace|{{{1}}}|-|−}}}} |
|val | |val | ||
|gaps5 ={{val|{{{1}}}}} | |gaps5 ={{val|{{{1}}}}} | ||
| − | |||
|commas5 ={{#invoke:String|replace|{{#ifexpr:(abs{{{1}}})<1E4|{{{1}}}|{{formatnum:{{{1}}}}}}}|-|−}} | |commas5 ={{#invoke:String|replace|{{#ifexpr:(abs{{{1}}})<1E4|{{{1}}}|{{formatnum:{{{1}}}}}}}|-|−}} | ||
|none ={{{1}}} | |none ={{{1}}} | ||
| + | |{{#invoke:String|replace|{{formatnum:{{{1}}}}}|-|−}} | ||
}} | }} | ||
}} | }} | ||