x = 4234.343899238; y = Math.round(x*100) / 100.0; print y > 4234.34 I know this is re-inventing the wheel, but I don't know Javascript enough. -----Original Message----- > Math.round() is a built-in JavaScript function ... Which gives me 4234...i need the two decimal places...