Javascript Objects JavaScript DHTML



Number properties



var newValue = new Number("4.8896");
document.writeln(newValue.toPrecision(3) + "");