Home »
Java »
Java Reference
Java MathContext Class Methods
Java MathContext class has the following built-in methods.
| Method |
Description |
| equals() |
It is used to check whether this MathContext and the given object are equal or not. |
| getPrecision() |
It is used to get the precision settings of this MathContext object when it exists. |
| getRoundingMode() |
It is used to get the RoundingMode value of this MathContext if defined. |
| hashCode() |
It is used to get the hash code value of this MathContext. |
| toString() |
It is used to represent this object (MathContext) as a String. |
Advertisement
Advertisement