Struct DHDecimal
An object representing a Deephaven fixed point type. This type has
essentially unlimited scale and precision.
Assembly: DeephavenOpenAPI.dll
Syntax
Constructors
DHDecimal(Decimal)
Declaration
public DHDecimal(decimal value)
Parameters
| Type |
Name |
Description |
| System.Decimal |
value |
|
Properties
Scale
Declaration
public int Scale { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Unscaled
Declaration
public BigInteger Unscaled { get; }
Property Value
| Type |
Description |
| BigInteger |
|
Methods
ToDecimal()
Declaration
public decimal ToDecimal()
Returns
| Type |
Description |
| System.Decimal |
|
ToDecimal(Boolean)
Declaration
public decimal ToDecimal(bool throwOnDecimalOverflow)
Parameters
| Type |
Name |
Description |
| System.Boolean |
throwOnDecimalOverflow |
|
Returns
| Type |
Description |
| System.Decimal |
|