Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Num/doc.
Template:Num: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{#regex:{{{1|}}}|/\./}}|{{#regexall: {{{1|}}}|/(\d{1,3})(\.)?/|}}|{{#regexall: {{{1|}}}|/(\d{1,3})(\.)?/|}}}}</includeonly><noinclude>{{Doc}}</noinclude> | <includeonly>{{#if: {{#regex:{{{1|}}}|/\./}}|{{#regexall: {{{1|}}}|/(\d{1,3})(\.)?/|}}|{{#regexall: {{{1|}}}|/(\d{1,3})(\.)?/|}}}}</includeonly><noinclude>{{Doc}}[[Category:Formats]]</noinclude> |
Revision as of 11:20, 14 March 2022
Overview
A quick template that reformats pretty-printed damage values to actual numbers once again.
Usage
{{num|50,234.23%}}
Result: 50234.23