Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Usage

{{digits|string}}

{{digits|1=string}}

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

Examples

{{digits|12px}} → 12

{{digits|1,234,567}} → 1234567

{{digits|$1.23}} → 123

{{digits|1=1+2=3}} → 123

See also