Skip to content

Commit a1c83db

Browse files
committed
Test
1 parent fdf5987 commit a1c83db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/freelancer-rates/.meta/exemplar/src/FreelancerRates.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ monthlyRate hourlyRate discount = ceiling (applyDiscount (dailyRate hourlyRate *
1111

1212
daysInBudget :: Int -> Double -> Double -> Double
1313
daysInBudget budget hourlyRate discount =
14-
fromIntegral (floor (fromIntegral budget / applyDiscount (dailyRate hourlyRate) discount * 10)) / 10
14+
fromIntegral (floor ((fromIntegral budget) / applyDiscount (dailyRate hourlyRate) discount * 10)) / 10

0 commit comments

Comments
 (0)