Method Square
Square(int)
Computes the square of an integer.
Declaration
public static int Square(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The value to square. |
Returns
| Type | Description |
|---|---|
| int | The squared value. |
Square(float)
Computes the square of a float.
Declaration
public static float Square(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The value to square. |
Returns
| Type | Description |
|---|---|
| float | The squared value. |