All pastes #615721 Raw Edit

Unbenannt

public text v1 · immutable
#615721 ·published 2007-07-12 08:25 UTC
rendered paste body
/**
* Firefox is telling me that convertPercent is not defined
* when i call it in showAddress()
*/

function convertPercent(population, customers)
{
	return ((customers / population) * 100);
}


for(i = 0; i < address.length; i++)
{
	showAddress(address[i], the_icons[i], spending_capacity[i], customers_in_area[i], graphs[i], area_population[i], convertPercent(area_population[i], customers_in_area[i]));
}