As you can see i've reversed the code, using the fare calculator with a distance of 1.08 miles now correctly displays a price of £2.34. However when using a larger distance such as 195.14 miles its displays a price of £351.65, when it should be £226.26

thanks chris1990

Code:
 	if (distance <= 300); // less than 300 Mile
	{firstMile = 3.00; // FM &#163;3.00
	TrafficP = 1.00;// add 10&#37; for traffic
	pricepMile = 1.10;}// PPM &#163;1.00

 	if (distance <= 175); // less than 150 Mile
	{firstMile = 3.00; // FM &#163;3.00
	TrafficP = 1.00;// add 10% for traffic
	pricepMile = 1.15;}// PPM &#163;1.10
	
	if (distance <= 100); // less than 100 Mile
	{firstMile = 3.00; // FM &#163;3.00
	TrafficP = 1.00;// add 10% for traffic
	pricepMile = 1.20;}// PPM &#163;1.20
	
	if (distance <= 50); // less than 50 Mile
	{firstMile = 3.00; // FM &#163;3.00
	TrafficP = 1.00;// add 10% for traffic
	pricepMile = 1.30;}// PPM &#163;1.30
	
	if (distance <= 30); //less than 30 Mile
	{firstMile = 3.00; // FM &#163;2.50
	TrafficP = 1.00;// add 15% for traffic
	pricepMile = 1.40};// PPM &#163;1.40

	if (distance <= 15); // less than 15 Mile
	{firstMile = 2.20; // FM &#163;2.20
	TrafficP = 1.00;// add 00% for traffic
	pricepMile = 1.80};// PPM &#163;1.80 - standard tariff