2018-10-12 15:37:13 -04:00
|
|
|
---
|
|
|
|
title: Divide One Decimal by Another with JavaScript
|
|
|
|
---
|
|
|
|
# Divide One Decimal by Another with JavaScript
|
|
|
|
|
2019-03-28 09:35:41 +01:00
|
|
|
JavaScript uses the `/` symbol for division.
|
2018-10-12 15:37:13 -04:00
|
|
|
|
|
|
|
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 -->
|