title: processing of decimal numbers fails
body: <p>I am trying to compare the numbers with another number and then classify it into a climate zone, but the following problem arises</p>
  <p>I get data via a JSON file in that there are also decimal numbers with a decimal point, so these should be easily processed by my JavaScript code but if I try to use this, either <code>undefined</code> or <code>NaN</code> comes up, even if I just try to log the number can someone help me?</p>
  <p>The JSON File:</p>
  <pre><code>{
    &quot;tabel&quot;: [
      {
        &quot;january&quot;: {
          &quot;temperature&quot;: 6.9,
          &quot;precipitation&quot;: 76
        },
        &quot;February&quot;: {
          &quot;temperature&quot;: 7.7,
          &quot;precipitation&quot;: 88
        },
        &quot;March&quot;: {
          &quot;temperature&quot;: 10.8,
          &quot;precipitation&quot;: 77
        },
        &quot;april&quot;: {
          &quot;temperature&quot;: 13.9,
          &quot;precipitation&quot;: 72
        },
        &quot;May&quot;: {
          &quot;temperature&quot;: 18.1,
          &quot;precipitation&quot;: 63
        },
        &quot;June&quot;: {
          &quot;temperature&quot;: 22.1,
          &quot;precipitation&quot;: 48
        },
        &quot;July&quot;: {
          &quot;temperature&quot;: 24.7,
          &quot;precipitation&quot;: 14
        },
        &quot;August&quot;: {
          &quot;temperature&quot;: 24.5,
          &quot;precipitation&quot;: 22
        },
        &quot;september&quot;: {
          &quot;temperature&quot;: 21.1,
          &quot;precipitation&quot;: 70
        },
        &quot;October&quot;: {
          &quot;temperature&quot;: 16.4,
          &quot;precipitation&quot;: 128
        },
        &quot;November&quot;: {
          &quot;temperature&quot;: 11.7,
          &quot;precipitation&quot;: 116
        },
        &quot;December&quot;: {
          &quot;temperature&quot;: 8.5,
          &quot;precipitation&quot;: 106
        },
        &quot;annual_average&quot;: {
          &quot;tempertur&quot;: 15.5,
          &quot;precipitation&quot;: 880
        }
      }
    ]
  }
  </code></pre>
  <p>My Code:</p>
  <pre><code>
  const data = require(&quot;./data.json&quot;);
  let k2;
  let k3;
  let humid = 0;
  
  let k1;
  if (data.tabel[0].annual_average.precipitation &lt; 250) {
    k1 = &quot;B&quot;;
  } else if (data.tabel[0].annual_average.temperature &gt; 15) {
    k1 = &quot;A&quot;;
  } else if (data.tabel[0].annual_average.temperature &gt; 12) {
    k1 = &quot;C&quot;;
  } else if (data.tabel[0].annual_average.temperature &gt; 0) {
    k1 = &quot;D&quot;;
  } else if (data.tabel[0].annual_average.temperature &gt; -10) {
    k1 = &quot;E&quot;;
  } else if (data.tabel[0].annual_average.temperature &lt; -10) {
    k1 = &quot;F&quot;;
  }
  console.log(k1);
  </code></pre>
  <p>The Code Output:
  <code>undefined</code></p>