16 public Type
From => typeof(BigInteger);
21 public Type
To => typeof(
double);
38 if (Value is BigInteger i)
41 if ((BigInteger)d == i)
61 if (Value is BigInteger i)
64 if ((BigInteger)d == i)
84 if (Value is BigInteger i)
87 if ((BigInteger)d == i)
93 throw new ArgumentException(
"Expected BigInteger value.", nameof(Value));
Converts a BigInteger to a double number, if possible.
Type From
Converter converts objects of this type.
Type To
Converter converts objects to this type.
bool TryConvertToElement(object Value, out IElement Result)
Converts the object in Value to an object of type To, encapsulated in an IElement.
double Weight
Weight of the converter. An estimate of how well the converter performs, or how much information is r...
bool TryConvert(object Value, out object Result)
Converts the object in Value to an object of type To.
IElement ConvertToElement(object Value)
Converts the object in Value to an object of type To, encapsulated in an IElement.
Basic interface for all types of elements.
Converts an object of one type to an object of another type.