Get Prime number for the given rank (max 255)
Namespace:
Hyleos.Chemistry.ConstantsAssembly: Hyleos.Chemistry (in Hyleos.Chemistry.dll) Version: 1.0.9.4 (1.0.9.4)
Syntax
| C# |
|---|
public static int PrimeNumber( int rank ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function PrimeNumber ( _ rank As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int PrimeNumber( int rank ) |
Parameters
- rank
- Type: System..::.Int32
Prime number rank's
Return Value
Prime number
Remarks
if given rank is greater than 255 it returns 1