Jump to content

Template:Digits

From Elite Dangerous Wiki
Revision as of 16:29, 23 February 2018 by Wikipedia>Primefac (Changed protection level for "Template:Digits": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Digits/doc" to edit its documentation if it is available. (How does this work?)

Lua error in Module:Lua_banner at line 115: attempt to compare nil with number.

Usage

{{digits|string}}

{{digits|1=string}}

Removes all characters from string that are not a digit 0–9.

Examples

  • {{digits|1,234,567}} → 1234567
  • {{digits|24.51 km (15.23 mi)}} → 24511523

See also

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).