> > Which gives me 4234...i need the two decimal places... > How about: function trimNumber(number, digits) { return Math.round(number * Math.pow(10, digits)) / ((Math.pow(10, digits) * 1.0)); } /Marcus