Home >Web Front-end >JS Tutorial >Introduction to using Math in JavaScript_Basic knowledge

Introduction to using Math in JavaScript_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 16:51:541016browse

Copy code The code is as follows:

Math.pow(2,53) //=> ;9007199254740992: 2 to the 53rd power
Math.round(.6) //=>1.0: Rounding
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn