Method Equals
Equals(RoundingPolicy?)
Determines whether the specified policy has the same decimal digits and decimal units as this policy.
Declaration
public bool Equals(RoundingPolicy? other)
Parameters
| Type | Name | Description |
|---|---|---|
| RoundingPolicy | other |
Returns
| Type | Description |
|---|---|
| bool |
Implements
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |