Takes one mandatory decimal argument named total (an order total) and returns a decimal
discount percentage: 0 when total is strictly below 100, 5 when total is greater than or
equal to 100 and strictly below 500, and 10 when total is greater than or equal to 500.
The result is returned as a plain value, not wrapped in an object.
