Template:Num: Difference between revisions

From Elwiki
No edit summary
m (Protected "Template:Num": Highly used pages/files/templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 11:31, 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