View Single Post
Old 06-04-2011, 12:10 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
This does? Count/convert the money in my wallet?
Code:
function geoplugin_city() { return '**';} 
function geoplugin_region() { return '**';} 
function geoplugin_regionCode() { return '**';} 
function geoplugin_regionName() { return '**';} 
function geoplugin_areaCode() { return '**';} 
function geoplugin_dmaCode() { return '**';} 
function geoplugin_countryCode() { return 'US';} 
function geoplugin_countryName() { return 'United States';} 
function geoplugin_continentCode() { return 'NA';} 
function geoplugin_latitude() { return '42.**';} 
function geoplugin_longitude() { return '-83.**';} 
function geoplugin_currencyCode() { return 'USD';} 
function geoplugin_currencySymbol() { return '$';} 
function geoplugin_currencyConverter(amt, symbol) { 
	if (!amt) { return false; } 
	var converted = amt * 1; 
	if (converted <0) { return false; } 
	if (symbol === false) { return Math.round(converted * 100)/100; } 
	else { return '$'+(Math.round(converted * 100)/100);} 
	return false; 
}
The ** were omitted but the values were close

Last edited by Barry-xlovecam; 06-04-2011 at 12:12 AM..
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote