We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68afa5c commit 1f25ad2Copy full SHA for 1f25ad2
src/script/scala/progscala3/basicoop/DollarsPercentagesOpaque.scala
@@ -29,7 +29,7 @@ object Accounting:
29
30
import Accounting.*
31
case class Salary(gross: Dollars, taxes: Percentage): // <5>
32
- def net: Dollars = gross - (gross .* taxes)
+ def net: Dollars = gross - (gross * taxes)
33
// end::definitions[]
34
35
// tag::usage[]
0 commit comments