Table of Contents

Class VBCurrencyType

Namespace
RDCore.SDK.Model.Types
Assembly
RDCore.SDK.dll

A VBNumericType<T> representing the Currency data type.

public record VBCurrencyType : VBNumericType<decimal>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBNumericType>, IEquatable<VBNumericType<decimal>>, IFixedPointNumericType, INumericType, IEquatable<VBCurrencyType>
Inheritance
VBCurrencyType
Implements
Inherited Members

Remarks

The managed type of a value of this data type is decimal.
👉 Implements IFixedPointNumericType.

Constructors

VBCurrencyType()

A VBNumericType<T> representing the Currency data type.

public VBCurrencyType()

Remarks

The managed type of a value of this data type is decimal.
👉 Implements IFixedPointNumericType.

Properties

DefaultValue

Gets the default value for this data type.

public override VBTypedValue DefaultValue { get; }

Property Value

VBTypedValue

Remarks

⚠️ Derived types must back the implementation of this property with a thread-safe private static readonly Lazy<T>. Failure to do so would lock up the static context initialization of the StaticSymbol symbols.

ManagedMaxValue

Gets the maximum representable managed (.net) value for this data type.

public override double ManagedMaxValue { get; }

Property Value

double

ManagedMinValue

Gets the minimum representable managed (.net) value for this data type.

public override double ManagedMinValue { get; }

Property Value

double

MaxValue

Gets the maximum representable value for this data type.

public static VBCurrencyValue MaxValue { get; }

Property Value

VBCurrencyValue

MinValue

Gets the minimum representable value for this data type.

public static VBCurrencyValue MinValue { get; }

Property Value

VBCurrencyValue

Size

The size (in bytes) of a value of this type.

public override int Size { get; }

Property Value

int

Remarks

Determines the length of the allocated memory space for a value of this type.

TypeInfo

The Currency data type.

public static VBCurrencyType TypeInfo { get; }

Property Value

VBCurrencyType

Zero

Gets the value 0 (zero) representation of this data type.

public static VBCurrencyValue Zero { get; }

Property Value

VBCurrencyValue