프로퍼티 | 타입 | 설명 | |
---|---|---|---|
MaxValue | |||
MinValue | |||
NullValue |
메소드 | 설명 | |
---|---|---|
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 !=
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | bool |
public MovePointLeft ( int n ) : |
||
n | int | Number of digits to shift by. |
리턴 |
public MovePointRight ( int n ) : |
||
n | int | Number of digits to shift by. |
리턴 |
public VoltDecimal ( |
||
num | Value used for initialization. | |
리턴 | System |
public VoltDecimal ( |
||
num | Value used for initialization. | |
리턴 | System |
public VoltDecimal ( |
||
num | Value used for initialization. | |
scale | int | Scale of the decimal value to create. |
리턴 | System |
public VoltDecimal ( byte data ) : System | ||
data | byte | Binary data as provided by the server's response. |
리턴 | System |
public VoltDecimal ( decimal num ) : System | ||
num | decimal | Value used for initialization. |
리턴 | System |
public VoltDecimal ( double num ) : System | ||
num | double | Value used for initialization. |
리턴 | System |
public VoltDecimal ( long num ) : System | ||
num | long | Value used for initialization. |
리턴 | System |
public VoltDecimal ( string num ) : System | ||
num | string | Value used for initialization. |
리턴 | System |
public VoltDecimal ( ulong num ) : System | ||
num | ulong | Value used for initialization. |
리턴 | System |
public static BigDecimal,VoltDB.ThirdParty.Math MaxValue | ||
리턴 |
public static BigDecimal,VoltDB.ThirdParty.Math MinValue | ||
리턴 |