You already have a resource for hourly rent a scooter.
The cost of an hour is $1000.
To rent a few scooters cheaper, create a discount when renting from two scooters.
Click + to create the pricing component.
1. Enter a name for the component.
2. Enter the name of the formula parameter for the number of scooters. For example, BIKE.
3. Enter the formula. The discount of $200 is multiplied by the number of scooters over one.
And all this multiplied by [INTERVALS] - the number of reserved hours.
-200 * Max(0,[BIKE]-1) * [INTERVALS]
In this formula, we use the Max function.
It returns the maximum of two numbers in parentheses.
Thus, we will not give the expression [BIKE] -1 to be less than zero.
4. Save the pricing component.
Let's check. We will reserve 4 scooters for 3 hours.
The formula: -200 * (4-1) * 3 = $1800.
Look at the example in action: