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>
<includeonly>{{#if: {{#regex:{{{1|}}}|/\./}}|{{#regexall: {{{1|}}}|/(\d{1,3})(\.)?/|}}|{{#regexall: {{{1|}}}|/(\d{1,3})(\.)?/|}}}}</includeonly><noinclude>{{Doc}}</noinclude>

Revision as of 11:18, 14 March 2022

Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Num/doc.

Overview

A quick template that reformats pretty-printed damage values to actual numbers once again.

Usage

{{num|50,234.23%}}

Result: 50234.23