Template:Val/delimitnum: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jimp mNo edit summary |
meta>Jimp use Module:Gapnum |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#switch:{{{fmt}}} | ||
|commas4={{#ifexpr:abs{{{1|0}}}<1E4 | |||
|{{#invoke:String|replace|{{{1|0}}}|-|−}} | |||
|{{formatnum:{{#invoke:String|replace|{{{1|0}}}|-|−}}}} | |||
}} | |||
|commas={{#ifexpr:{{{1|0}}}<1E4 | |||
|{{#switch:{{{u}}} | |||
|BC|AD|BCE|CE={{#expr:{{{1}}}}} | |||
|{{formatnum:{{#invoke:String|replace|{{{1|0}}}|-|−}}}} | |||
}} | |||
|{{formatnum:{{{1|0}}}}} | |||
}} | |||
|{{#ifexpr:{{{1|0}}}<1E4 | |||
|{{#switch:{{{u}}} | |||
|BC|AD|BCE|CE={{#expr:{{{1}}}}} | |||
|{{#ifexpr:{{{1|0}}}<0 | |||
|−{{#invoke:Gapnum|main|{{#invoke:String|replace|{{{1|0}}}|-}}}} | |||
|{{#invoke:Gapnum|main|{{{1|0}}}}} | |||
}} | |||
}} | |||
|{{#invoke:Gapnum|main|{{{1|0}}}}} | |||
}} | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> |