Jump to content

Template:0expr

From Meta, a Wikimedia project coordination wiki
Template documentation


Usage

[edit]

Evaluate expression, add leading zero to non-negative result < 10.

{{ 0expr|{{ CURRENTDOW}}}} = 01 for "{{CURRENTDOW|=}}" gives "Template:CURRENTDOW" [1]

{{#expr:{{CURRENTDOW}}}} gives 1, for details see the talk page.