number: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
[[Category: | {{MacroFunction | ||
|name=number | |||
|version=1.3b48 | |||
|description= | |||
Returns the value that is passed in as a number. If the value can not be converted to a number then an error will occur. If you are unsure if a value is a number to can use [[Macros:Functions:isNumber|isNumber()]] before calling this function. | |||
|usage= | |||
<syntaxhighlight lang="mtmacro" line> | |||
number(val) | |||
</syntaxhighlight> | |||
}} | |||
[[Category:Mathematical Function]] | |||
[[Category:String Function]] |
Revision as of 18:27, 14 March 2023
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
number() Function
• Introduced in version 1.3b48
Returns the value that is passed in as a number. If the value can not be converted to a number then an error will occur. If you are unsure if a value is a number to can use isNumber() before calling this function.
Usage
number(val)