Struct BlittableDecimal
Represents a blittable version of a decimal value.
public struct BlittableDecimal
- Inherited Members
- Extension Methods
Properties
Value
Gets or sets the decimal value.
public decimal Value { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the decimal value.
public override string ToString()
Returns
- string
A string representation of the decimal value.
Operators
explicit operator BlittableDecimal(decimal)
Converts a decimal value to a BlittableDecimal.
public static explicit operator BlittableDecimal(decimal value)
Parameters
value
decimalThe decimal value to convert.
Returns
- BlittableDecimal
A BlittableDecimal representing the decimal value.
implicit operator decimal(BlittableDecimal)
Converts a BlittableDecimal to a decimal value.
public static implicit operator decimal(BlittableDecimal value)
Parameters
value
BlittableDecimalThe BlittableDecimal to convert.
Returns
- decimal
A decimal value.