Jump to content

Template:Digits/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{digits|string}}

{{digits|1=string}}

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

Examples

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

See also

[edit]