OK fatto, è cosi

codice:
	prezzotot = "32,45";
	string = prezzotot.toString().replace( /,/g, '.' );
	alert (string);