This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
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.
number(val)