ConvertibleStructHelper Class
Namespace: PTS
Assembly: PTSframework.dll
Provides a set of static methods for IConvertible
types with struct
constraint.
Syntax
public static class ConvertibleStructHelper
Inheritance
System.Object
ConvertibleStructHelper
Methods
OrderOfMagnitude<TValue>(TValue)
Returns order of magnitude for given numeric convertible value.
Declaration
public static uint OrderOfMagnitude<TValue>(this TValue value)
where TValue : struct, IConvertible
Parameters
Type | Name | Description |
---|---|---|
TValue | value | The value to test. |
Returns
Type | Description |
---|---|
System.UInt32 | Whole number representing order of magnitude of the value. |
Type Parameters
Name | Description |
---|---|
TValue | The type of value to test. |
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()