round() public méthode

public round ( java arg0 ) : global::java.math.BigDecimal
arg0 java
Résultat global::java.math.BigDecimal
Exemple #1
0
 /**
  * Returns this complex nuber rounded to the specified precision.
  *
  * <p>This methods <strong>does not</strong> modify this instance.</p>
  *
  * @param mathContext the {@link MathContext} used to calculate the result
  * @return the rounded {@link BigComplex} result
  */
 public BigComplex round(MathContext mathContext)
 {
     return(valueOf(re.round(mathContext), im.round(mathContext)));
 }