freeCodeCamp/guide/chinese/certifications/javascript-algorithms-and-d.../basic-javascript/divide-one-decimal-by-anoth.../index.md

287 B

title localeTitle
Divide One Decimal by Another with JavaScript 使用JavaScript将另一个十进制除以另一个

使用JavaScript将另一个十进制除以另一个

Javascript使用/符号进行除法。

var quotient = 0.6 / 0.3; //quotient gets the value 2