javascript温习2:String & Math

javascript复习2:String & Mathdocument.write(Math.abs(7.25) + br /)document.write(Math.abs(-7.25

javascript复习2:String & Math

document.write(Math.abs(7.25) + "<br />")document.write(Math.abs(-7.25))document.write(Math.round(0.49) + "<br />")document.write(Math.round(-4.40) + "<br />")document.write(Math.ceil(5.1) + "<br />")document.write(Math.floor(5.1) + "<br />")document.write(Math.min(-3,-5) + "<br />")document.write(Math.pow(2,3) + "<br />")document.write(Math.sqrt(0.64) + "<br />")document.write("PI: " + Math.PI);