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

343 B

title
Divide One Decimal by Another with JavaScript

Divide One Decimal by Another with JavaScript

Javascript uses the / symbol for division.

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