GM: sqr
From GMpedia.org Wiki
- The correct title of this article is sqr. It appears incorrectly here because of technical restrictions.
Arguments
1: value;
Limitations
none
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
The sqr() function in Game Maker returns the square of the entered value or, in other words, the value multiplied by itself, or value². This function takes x and squares it. It can be any real positive number, even a variable that has a real number value, but no letters.
The result is always positive.
Content from Game Maker Knowledge Base, was used to expand this article. The content was contributed by cityscape.

