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

11 lines
343 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
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
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->