Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:IsNum/Documentation

< Template:IsNum
Revision as of 16:10, 24 October 2022 by Arcology Expert Program (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:IsNum template tests whether a value is numeric (or at least, that it can be treated as such by the expression ParserFunction).

Usage

It has one mandatory string parameter and one optional named parameter:

  • 1 is the parameter to be tested; the template will pass through the parameter if it's numeric and return blank if it's not.
  • bool (default false — if set to true, the template will output true if numeric and false if not numeric.

Return

CodeReturn
{{IsNum|1,327.50}} 1,327.50
{{IsNum|9,999 (1950)}} 
{{IsNum|9999999999999}} 9999999999999
{{IsNum|500 metres}} 
{{IsNum|500*500}} 500*500
{{IsNum|9.999e50}} 9.999e50
{{IsNum|1+1|bool=true}} true
{{IsNum|2b∨¬2b|bool=true}} false