Template:MONTHNUMBER: Difference between revisions
m
no edit summary
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
12-(((0.5-({{{1|}}}))round 0)mod 12) | 12-(((0.5-({{{1|}}}))round 0)mod 12) | ||
}}|{{#expr: | }}|{{#expr: | ||
12-((( | 12-(((1.5-({{{1|}}}))round 0)mod 12) | ||
}}}}|{{#expr:(((10.5+{{{1|}}})round 0)mod 12)+1}}}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}} | }}}}|{{#expr:(((10.5+{{{1|}}})round 0)mod 12)+1}}}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}} | ||
This template returns the cyclic integer month number (between 1 and 12) of the month whose real number is in parameter. | This template returns the cyclic integer month number (between 1 and 12) of the month whose real number is in parameter. |