Property | Type | Description | |
---|---|---|---|
Null |
Method | Description | |
---|---|---|
Compare ( |
Compares two specified FixedPointDecimal values.
|
|
Create ( decimal d ) : |
Static factory method to create a FixedDecimal.
|
|
Equals ( |
Determines whether the specified FixedPointDecimal is equal to the current FixedPointDecimal.
|
|
Equals ( object value ) : bool |
Determines whether the specified Object is equal to the current Object.
|
|
FixedPointDecimal ( decimal val ) : System |
Construct FixedPointDecimal from the provided nullable decimal.
|
|
GetHashCode ( ) : int |
Gets the hash code for the object.
|
|
TryParse ( string s, |
Converts the string representation of a number to its FixedPointDecimal equivalent. A return value indicates whether the conversion succeeded or failed.
|
|
TryParseTruncate ( string s, |
Converts the string representation of a number to its FixedPointDecimal equivalent. A return value indicates whether the conversion succeeded or failed. Values outside the range of a FixedPointDecimal are truncated to the min or max values for FixedPointDecimal as appropriate. Input values with more than four decimal places have their precision truncated to to four decimal places.
|
|
operator ( ) : bool |
Determines if two FixedPointDecimal objects are not equal.
|
Method | Description | |
---|---|---|
FixedPointDecimal ( uint significand, bool isNegative ) : System | ||
InternalTryParse ( string s, |
public static Compare ( |
||
d1 | The first |
|
d2 | The second |
|
return | int |
public static Create ( decimal d ) : |
||
d | decimal | The value to create the object from. |
return |
public static Equals ( |
||
d1 | The first |
|
d2 | The second |
|
return | bool |
public Equals ( object value ) : bool | ||
value | object | The object to compare with the current object. |
return | bool |
public FixedPointDecimal ( decimal val ) : System | ||
val | decimal | The value to convert. |
return | System |
public static TryParse ( string s, |
||
s | string | The value to parse. |
result | Upon success contains the |
|
return | bool |
public static TryParseTruncate ( string s, |
||
s | string | The value to parse. |
result | Upon success contains the |
|
return | bool |