Difference between revisions of "Template:IsEven"
From PlantUse English
MarcBrugman (Talk | contribs) |
GerdSchmidt (Talk | contribs) |
||
Line 3: | Line 3: | ||
=== Parameters : === | === Parameters : === | ||
the number to test | the number to test | ||
− | + | returns true if even, false if not | |
=== Exemple === | === Exemple === | ||
<nowiki>{{IsEven|1}}</nowiki> returns {{IsEven|1}} | <nowiki>{{IsEven|1}}</nowiki> returns {{IsEven|1}} |
Latest revision as of 09:56, 1 June 2011
Template to test if a number is even or not
Parameters :
the number to test returns true if even, false if not
Exemple
{{IsEven|1}} returns {{IsEven|21}} returns {{IsEven|42}} returns true