making an exception to a condition
-
Hi
I’m trying to prepare a quote calculator for a new boiler that is determined by two things: boiler type (A, B and C) and the number of bathrooms and the form should calculate a quote based on this information. Broadly speaking the calculation is value of boiler type field + (number of bathrooms *100). This would be really simple but the only problem is that there is an exception to the rule – for boiler type B the price for a two-bathroom home is the same as the price for a one bathroom home and it only goes up by 100 for each additional bathroom after bathroom 2 in the case of boiler type B. So with boiler B it is the same price whether you have a one bathroom home or a two-bathroom home because the basic boiler B type has the capacity to handle two bathrooms and only needs to be upgraded in terms of capacity for bathrooms above this number. Is there a way of accounting for this condition? Many thanks. Jamie
- The topic ‘making an exception to a condition’ is closed to new replies.