NumericBaseConvertor Class
Namespace: PTS.Numbers
Assembly: PTS.Numbers.dll
Syntax
public class NumericBaseConvertor
Inheritance
System.Object
NumericBaseConvertor
Methods
FromBase(String, Int32)
Declaration
public static ulong FromBase(string input, int numberBase)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | |
System.Int32 | numberBase |
Returns
Type | Description |
---|---|
System.UInt64 |
ToBase(Int32, Int32)
Declaration
public static string ToBase(int number, int numberBase)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | number | |
System.Int32 | numberBase |
Returns
Type | Description |
---|---|
System.String |
ToBase(UInt64, Int32)
Declaration
public static string ToBase(ulong number, int numberBase)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | number | |
System.Int32 | numberBase |
Returns
Type | Description |
---|---|
System.String |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()