Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
meatball133 committed Oct 11, 2024
1 parent a1c83db commit ffbf359
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ monthlyRate hourlyRate discount = ceiling (applyDiscount (dailyRate hourlyRate *

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

0 comments on commit ffbf359

Please sign in to comment.