EuclidIsPerfectSquare(Int32) Method |
Find out whether the provided 32 bit integer is a perfect square, i.e. a square of an integer.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool IsPerfectSquare(
this int number
)
Parameters
- number Int32
- The number to very whether it's a perfect square.
Return Value
BooleanTrue if and only if it is a perfect square.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also