Enhanced C#
Language of your choice: library documentation
|
Provides methods for converting common numeric types to another numeric type "T". More...
Provides methods for converting common numeric types to another numeric type "T".
T | A numeric type |
Methods for converting type T to standard numeric types would be redundant, because standard numeric types already implement IConvertible for this purpose. To use IConvertible in generic code, add IConvertible as a type constraint on the numeric type.
Public Member Functions | |
T | From (uint t) |
T | From (int t) |
T | From (ulong t) |
T | From (long t) |
T | From (double t) |
T | Clip (uint t) |
T | Clip (int t) |
T | Clip (ulong t) |
T | Clip (long t) |
T | Clip (double t) |