16 public Type
From => typeof(BigInteger);
21 public Type
To => typeof(
double);
31 if (Value is BigInteger i)
34 if (((BigInteger)d) == i)
40 throw new ArgumentException(
"Expected BigInteger value.", nameof(Value));
52 if (Value is BigInteger i)
55 if (((BigInteger)d) == i)
61 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.
IElement ConvertToElement(object Value)
Converts the object in Value to an object of type To, encapsulated in an IElement.
Type To
Converter converts objects to this type.
object Convert(object Value)
Converts the object in Value to an object of type To.
Basic interface for all types of elements.
Converts an object of one type to an object of another type.