Table of Contents

Class VBDecimalValue

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

A VBNumericTypedValue representing a runtime value of the VBDecimalType data type.

public sealed record VBDecimalValue : VBNumericTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBDecimalValue, decimal>, IEquatable<IVBTypedValue<VBDecimalValue, decimal>>, INumericValue<VBDecimalValue>, INumericValue, IEquatable<VBDecimalValue>
Inheritance
VBDecimalValue
Implements
Inherited Members

Constructors

VBDecimalValue(Symbol)

A VBNumericTypedValue representing a runtime value of the VBDecimalType data type.

public VBDecimalValue(Symbol Symbol)

Parameters

Symbol Symbol

The Symbol associated with this value.

Properties

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Value

Gets the underlying managed value corresponding to this typed value.

public decimal Value { get; }

Property Value

decimal

Methods

Equals(IVBTypedValue<VBDecimalValue, decimal>?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IVBTypedValue<VBDecimalValue, decimal>? other)

Parameters

other IVBTypedValue<VBDecimalValue, decimal>

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.