round() 공개 메소드

public round ( java arg0 ) : global::java.math.BigDecimal
arg0 java
리턴 global::java.math.BigDecimal
예제 #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)));
 }