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 fdf5987 commit a1c83dbCopy full SHA for a1c83db
exercises/concept/freelancer-rates/.meta/exemplar/src/FreelancerRates.hs
@@ -11,4 +11,4 @@ monthlyRate hourlyRate discount = ceiling (applyDiscount (dailyRate hourlyRate *
11
12
daysInBudget :: Int -> Double -> Double -> Double
13
daysInBudget budget hourlyRate discount =
14
- fromIntegral (floor (fromIntegral budget / applyDiscount (dailyRate hourlyRate) discount * 10)) / 10
+ fromIntegral (floor ((fromIntegral budget) / applyDiscount (dailyRate hourlyRate) discount * 10)) / 10
0 commit comments