codice:
function arrotonda(numero,decimali)
{
	return Math.round(numero * Math.pow(10, decimali)) / Math.pow(10, decimali);
}
trace(arrotonda(3.566547, 2))