Table of Contents

Class VBNumericTypedValue

Namespace
RDCore.SDK.Model.Values.Abstract
Assembly
RDCore.SDK.dll

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, Symbol)

Represents any data type that is specified as a numeric type, mapping directly to "Any numeric type" specifications.

protected VBNumericTypedValue(VBType TypeInfo, Symbol Symbol)

Parameters

TypeInfo VBType

The VBType of the numeric value.

Symbol Symbol

The symbol associated with this 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

int

Properties

Symbol

The symbol associated with this value.

public Symbol Symbol { get; init; }

Property Value

Symbol

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

value T

The underlying value of the numeric value to be produced.

Returns

INumericValue

Type Parameters

T

Remarks

💥Overflow may be raised as specified in the appropraite run-time semantics if the specified value is outside the bounds representable by the VBType.