Difference between revisions of "Template:IsNumber"
BrianFreud (talk | contribs) (Created page with "{{#ifeq: {{#expr: {{{1}}}}} | {{{1|}}} | true | false }}<noinclude> From https://www.mediawiki.org/wiki/User:Tim.Landscheidt/Template:IsNumber {| class="prettytable" |- clas...") |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#ifeq: {{#expr: {{{1}}}}} | {{{1|}}} | | + | {{#ifeq: {{#expr: {{{1}}}}} | {{{1|}}} | 1 | 0 }}<noinclude> |
From https://www.mediawiki.org/wiki/User:Tim.Landscheidt/Template:IsNumber | From https://www.mediawiki.org/wiki/User:Tim.Landscheidt/Template:IsNumber |
Latest revision as of 16:35, 8 January 2020
0
From https://www.mediawiki.org/wiki/User:Tim.Landscheidt/Template:IsNumber
Input | Expected result | Result |
---|---|---|
0.123456789 | true | Tim.Landscheidt/Template:IsNumber |
0.123456789012345 | true | Tim.Landscheidt/Template:IsNumber |
99999999999999999999 | true | Tim.Landscheidt/Template:IsNumber |
98765432109876543210 | true | Tim.Landscheidt/Template:IsNumber |
22.12.2007 | false | Tim.Landscheidt/Template:IsNumber |
hugo | false | Tim.Landscheidt/Template:IsNumber |