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<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
Properties
AsDouble
The value as a managed double. A transitional accessor while the semantic layer still
computes on double for anything numeric — safe against the boxed-primitive cast that a
bare (double)RuntimeValue.BoxedValue would throw.
public double AsDouble { get; }