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

337 B

title
Divide One Number by Another with JavaScript

Divide One Number by Another with JavaScript

Javascript uses the / symbol for division.

var quotient = 6 / 3; //quotient will get value 2