# \[Bug\] Need assistance in Divide one Decimal by Another with JavaScript

**URL:** <https://forum.freecodecamp.org/t/bug-need-assistance-in-divide-one-decimal-by-another-with-javascript/138405>\
**Category:** freeCodeCamp Contributors\
**Tags:** contributing\
**Created:** [July 26, 2017, 4:28pm UTC](https://forum.freecodecamp.org/t/bug-need-assistance-in-divide-one-decimal-by-another-with-javascript/138405 "2017-07-26T16:28:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anasey01](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/anasey01/32/121512_2.png) [@anasey01](https://forum.freecodecamp.org/u/anasey01)\
**Post date:** [July 26, 2017, 4:28pm UTC](https://forum.freecodecamp.org/t/bug-need-assistance-in-divide-one-decimal-by-another-with-javascript/138405/1 "2017-07-26T16:28:35Z")

</div>

#### Challenge Name

[Divide one Decimal by Another with JavaScript](http://beta.freecodecamp.com/en/challenges/basic-javascript/divide-one-decimal-by-another-with-javascript) has an issue.

#### Issue Description

#### Browser Information

User Agent is: `Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36`.

#### Screenshot

#### Your Code

```js

var quotient = 4.4 / 2.0; // Fix this line

```

---

<div class="post-metadata">

**Author:** ![Dodd](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@Dodd](https://forum.freecodecamp.org/u/Dodd)\
**Post date:** [December 7, 2017, 7:17pm UTC](https://forum.freecodecamp.org/t/bug-need-assistance-in-divide-one-decimal-by-another-with-javascript/138405/2 "2017-12-07T19:17:11Z")

</div>

What problem do you have with this code exactly? Because i just use an

```auto
alert(quotient);

```

and the result was 2.2, is the correct result…

---

<div class="post-metadata">

**Author:** ![lynxlynxlynx](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lynxlynxlynx/32/2597_2.png) [@lynxlynxlynx](https://forum.freecodecamp.org/u/lynxlynxlynx)\
**Post date:** [December 7, 2017, 11:35pm UTC](https://forum.freecodecamp.org/t/bug-need-assistance-in-divide-one-decimal-by-another-with-javascript/138405/3 "2017-12-07T23:35:10Z")

</div>

4 months later … it’s probably not the same code any more, as beta went through a lot of turmoil. Extraneous necroposting.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:00pm UTC](https://forum.freecodecamp.org/t/bug-need-assistance-in-divide-one-decimal-by-another-with-javascript/138405/4 "2021-01-17T20:00:04Z")

</div>

Closed on January 17, 2021, 8:00pm UTC


