This week's book giveaway is in the JavaScript forum. We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line! See this thread for details.

Hi, COULD SOMWEONE P-OSSIBLY TELL ME HOW TO convert floating point data to a precision of 2 decimal points....urgent..pleeeeeeez. besides using String manipulation.... thanx. george

Theres probably a function to do this which I couldn't find, but how about: x = Math.round(x * 100) / 100.0; If x is a double, this will round it to 2 decimal places.