Class VBNumericTypedValue
Represents any data type that is specified as a numeric type, mapping directly to "Any numeric type" specifications.
public abstract record VBNumericTypedValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, INumericValue, IEquatable<VBNumericTypedValue>
- Inheritance
-
VBNumericTypedValue
- Implements
- Derived
- Inherited Members
Constructors
VBNumericTypedValue(VBType)
Represents any data type that is specified as a numeric type, mapping directly to "Any numeric type" specifications.
protected VBNumericTypedValue(VBType TypeInfo)
Parameters
TypeInfoVBTypeThe
VBTypeof the numeric value.
Fields
SignificantIntegerDigits
The maximum possible number of significant digits retained in a String representation of a value of this type.
public const int SignificantIntegerDigits = 15
Field Value
Methods
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
WithValue<T>(T)
Gets a copy of this value, with the specified underlying value.
public INumericValue WithValue<T>(T value) where T : struct
Parameters
valueTThe underlying value of the numeric value to be produced.
Returns
Type Parameters
T