isNumber: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function isNumber== Returns 1 if the parameter is a number, or 0 if it is not. ===Usage=== <source lang="mtmacro" line> [h: num = isNumber(val)] </source>)
 
(Applied Template:MacroFunction)
Line 1: Line 1:
==Function isNumber==
{{stub}}
 
{{MacroFunction
|name=isNumber
|description=
Returns 1 if the parameter is a number, or 0 if it is not.
Returns 1 if the parameter is a number, or 0 if it is not.


===Usage===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: num = isNumber(val)]
[h: num = isNumber(val)]
</source>
</source>
}}
[[Category:Mathematical Function]]

Revision as of 20:56, 8 March 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

isNumber() Function

Returns 1 if the parameter is a number, or 0 if it is not.

Usage

[h: num = isNumber(val)]