We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3283b0b commit d9f76d0Copy full SHA for d9f76d0
1 file changed
src/main/java/com/thealgorithms/maths/ReturnOnInvestment.java
@@ -9,15 +9,14 @@
9
* @see <a href="https://www.investopedia.com/terms/r/returnoninvestment.asp">Investopedia</a>
10
*/
11
public final class ReturnOnInvestment {
12
-
13
private ReturnOnInvestment() {
14
}
15
16
/**
17
* Calculates the return on investment as a percentage.
18
*
19
* @param gainFromInvestment the total value gained from the investment
20
- * @param costOfInvestment the total cost of the investment
+ * @param costOfInvestment the total cost of the investment
21
* @return ROI as a percentage
22
* @throws IllegalArgumentException if costOfInvestment is not positive
23
0 commit comments