This is an automated email from the ASF dual-hosted git repository.
ericbarnhill pushed a commit to branch fraction-dev
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
The following commit(s) were added to refs/heads/fraction-dev by this push:
new dfabfc1 NUMBERS-91: Removal of percentageValue method
dfabfc1 is described below
commit dfabfc19d0c9531f04740f4e41b20494d8ce6bba
Author: Eric Barnhill <[email protected]>
AuthorDate: Thu Dec 27 15:55:27 2018 -0800
NUMBERS-91: Removal of percentageValue method
---
.../org/apache/commons/numbers/fraction/BigFraction.java | 12 ------------
1 file changed, 12 deletions(-)
diff --git
a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
index 1430051..47ec061 100644
---
a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
+++
b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
@@ -933,18 +933,6 @@ public class BigFraction
/**
* <p>
- * Gets the fraction percentage as a {@code double}. This calculates the
- * fraction as the numerator divided by denominator multiplied by 100.
- * </p>
- *
- * @return the fraction percentage as a {@code double}.
- */
- public double percentageValue() {
- return multiply(ONE_HUNDRED).doubleValue();
- }
-
- /**
- * <p>
* Returns a {@code BigFraction} whose value is
* {@code (this<sup>exponent</sup>)}, returning the result in reduced form.
* </p>