1.4 KiB
1.4 KiB
Hints
General
- Read about basic arithmetic in the official Getting Started guide.
- Browse the
Float
andKernel
modules to learn about functions and operators that work with floats.
1. Calculate the daily rate given an hourly rate
- Basic arithmetic operations where one argument is an integer, and the other is a float, will return a float.
2. Calculate a discounted price
- Basic arithmetic operations where one argument is an integer, and the other is a float, will return a float.
3. Calculate the monthly rate, given an hourly rate and a discount
- There is a built-in function for changing floats to integers.
- There is a built-in function for rounding floats up.
4. Calculate the number of workdays given a budget, hourly rate and discount
- There is a built-in function for rounding floats down with desired precision.