This website requires JavaScript.
Explore
Help
Register
Sign In
greatbody
/
freeCodeCamp
mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
Watch
1
Star
0
Fork
You've already forked freeCodeCamp
0
Code
Issues
Projects
Releases
Wiki
Activity
77bf9f968f
freeCodeCamp
/
guide
/
chinese
/
javascript
/
tutorials
/
perform-arithmetic-operatio...
/
index.md
262 B
Raw
Blame
History
Unescape
Escape
title
localeTitle
Perform Arithmetic Operations on Decimals with JavaScript
使用JavaScript对小数执行算术运算
在JavaScript中
,
您可以使用十进制数执行计算
,
就像整数一样。
var quotient = 4.4 / 2.0; // equals 2.2