<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/create-decimal-numbers-with-javascript#?solution=var%20ourDecimal%20%3D%205.7%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Avar%20myDecimal%20%3D%201.1%3B%0A%0A" rel="nofollow">Create Decimal Numbers with JavaScript</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ourDecimal = 5.7;

// Only change code below this line
var myDecimal = 1.0;

"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">5.7</span><span class="pl-kos">;</span>

<span class="pl-c">// Only change code below this line</span>
<span class="pl-k">var</span> <span class="pl-s1">myDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">1.0</span><span class="pl-kos">;</span>
</pre></div>
<p dir="auto">The value 1.0 contains a decimal and is thus a floating point number, yet fails the test case.</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/create-decimal-numbers-with-javascript#?solution=var%20ourDecimal%20%3D%205.7%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Avar%20myDecimal%20%3D%201.0%3B%0A%0A" rel="nofollow">Create Decimal Numbers with JavaScript</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ourDecimal = 5.7;

// Only change code below this line
var myDecimal = 1.0;

"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">5.7</span><span class="pl-kos">;</span>

<span class="pl-c">// Only change code below this line</span>
<span class="pl-k">var</span> <span class="pl-s1">myDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">1.0</span><span class="pl-kos">;</span>
</pre></div>
<p dir="auto">This gave an error: "myDecimal should have a decimal point". But it does have a decimal point.</p>
<p dir="auto">The test is:</p>
<p dir="auto"><code class="notranslate">assert(myDecimal % 1 != 0, 'message: &lt;code&gt;myDecimal&lt;/code&gt; should have a decimal point');</code></p>
<p dir="auto">The request to "Create a variable <code class="notranslate">myDecimal</code> and give it a decimal value" should perhaps specify that the decimal part needs to be non-zero. Or the error message needs fixing.</p>
<p dir="auto">My last issue was closed without comment. Are "nit picks" like this unwelcome in general? I'd like to help improve the site, but if you would rather I keep these issues to myself I can do.</p>