toBigInteger() public method

public toBigInteger ( ) : global::java.math.BigInteger
return global::java.math.BigInteger
Beispiel #1
0
 /**
  * Returns the denominator of this rational number as BigInteger.
  *
  * <p>Guaranteed to not be 0.</p>
  * <p>Guaranteed to be positive.</p>
  *
  * @return the denominator as BigInteger
  */
 public BigInteger getDenominatorBigInteger()
 {
     return(denominator.toBigInteger());
 }
Beispiel #2
0
 /**
  * Returns the numerator of this rational number as BigInteger.
  *
  * @return the numerator as BigInteger
  */
 public BigInteger getNumeratorBigInteger()
 {
     return(numerator.toBigInteger());
 }