Difference between revisions of "Template:Frac/output"
Jump to navigation
Jump to search
imported>Crissov (link to old version of Sandbox) |
imported>Jimp (repurpose for number formatting) |
||
| Line 1: | Line 1: | ||
| − | + | {{#iferror:{{#expr:{{{1|A}}}+1}} | |
| − | + | |{{{1|}}} | |
| − | + | |{{#switch:{{{fmt|commas}}} | |
| − | |{{ | + | |gaps ={{#invoke:String|replace|{{#invoke:gapnum|{{{1}}}}}|-|−}} |
| − | |{{# | + | |val |
| − | + | |gaps5 ={{val|{{{1}}}}} | |
| − | + | |commas ={{#invoke:String|replace|{{formatnum:{{{1}}}}}|-|−}} | |
| − | + | |commas5 ={{#invoke:String|replace|{{#ifexpr:(abs{{{1}}})<1E4|{{{1}}}|{{formatnum:{{{1}}}}}}}|-|−}} | |
| − | + | |none ={{{1}}} | |
| − | + | }} | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||