Property | Type | Description | |
---|---|---|---|
MaxValue | |||
MinValue | |||
NullValue |
Method | Description | |
---|---|---|
Equals ( object o ) : bool |
Overrides Equals operator
|
|
GetHashCode ( ) : int |
Returns a hashcode for the current instance.
|
|
IsVoltDBNull ( ) : bool |
Returns whether the variable corresponds to a null VoltDB value.
|
|
MovePointLeft ( int n ) : |
Moves the decimal point to the left (essentially: divide by 10^n)
|
|
MovePointRight ( int n ) : |
Moves the decimal point to the left (essentially: multiply by 10^n)
|
|
ToBytes ( ) : byte[] |
Returns the bytes for thie BigDecimal instance, for serialization.
|
|
ToString ( ) : string |
Override ToString operator to provide a string representation of the number.
|
|
VoltDecimal ( |
Creates a new decimal from a generic BigDecimal value.
|
|
VoltDecimal ( |
Creates a new decimal from a BigInteger value.
|
|
VoltDecimal ( |
Creates a new decimal from a BigInteger value and optional scale (will be redefined to FixedScale after original initialization).
|
|
VoltDecimal ( byte data ) : System |
Creates a new instance of the BigDecimal data type, from the deserialization data.
|
|
VoltDecimal ( decimal num ) : System |
Creates a new decimal from a decimal value.
|
|
VoltDecimal ( double num ) : System |
Creates a new decimal from a double value.
|
|
VoltDecimal ( long num ) : System |
Creates a new decimal from a long value.
|
|
VoltDecimal ( string num ) : System |
Creates a new decimal from a string value.
|
|
VoltDecimal ( ulong num ) : System |
Creates a new decimal from a ulong value.
|
|
operator ( ) : |
Operator definition: binary *
|
|
operator ( ) : bool |
Operator definition: binary !=
|
Method | Description | |
---|---|---|
IsValidValue ( |
Returns whether a given BigDecimal value fits within the restrictions of the VoltDecimal type.
|
|
ValidOrThrow ( |
Checks a value and, in case of validation failure throws an exception.
|
public Equals ( object o ) : bool | ||
o | object | Object to compare this instance with. |
return | bool |
public MovePointLeft ( int n ) : |
||
n | int | Number of digits to shift by. |
return |
public MovePointRight ( int n ) : |
||
n | int | Number of digits to shift by. |
return |
public VoltDecimal ( |
||
num | Value used for initialization. | |
return | System |
public VoltDecimal ( |
||
num | Value used for initialization. | |
return | System |
public VoltDecimal ( |
||
num | Value used for initialization. | |
scale | int | Scale of the decimal value to create. |
return | System |
public VoltDecimal ( byte data ) : System | ||
data | byte | Binary data as provided by the server's response. |
return | System |
public VoltDecimal ( decimal num ) : System | ||
num | decimal | Value used for initialization. |
return | System |
public VoltDecimal ( double num ) : System | ||
num | double | Value used for initialization. |
return | System |
public VoltDecimal ( long num ) : System | ||
num | long | Value used for initialization. |
return | System |
public VoltDecimal ( string num ) : System | ||
num | string | Value used for initialization. |
return | System |
public VoltDecimal ( ulong num ) : System | ||
num | ulong | Value used for initialization. |
return | System |
public static BigDecimal,VoltDB.ThirdParty.Math MaxValue | ||
return |
public static BigDecimal,VoltDB.ThirdParty.Math MinValue | ||
return |