title: Converting Materialize Value to Integer
body: <p>I'm trying to convert a materialize value to an integer and save the value in a sequelize database. The code below does not work because req.body cannot be read. How would I go about manipulating req.body to change the sequelize types of the price?</p>
  
  <p>HTML</p>
  
  <pre><code>    &lt;div class="input-field col s5" name="price" id="price"&gt;
        &lt;select&gt;
          &lt;option value="" disabled selected&gt;Choose your option&lt;/option&gt;
          &lt;option value="1"&gt;$&lt;/option&gt;
          &lt;option value="2"&gt;$$&lt;/option&gt;
          &lt;option value="3"&gt;$$$&lt;/option&gt;
          &lt;option value="4"&gt;$$$$&lt;/option&gt;
          &lt;option value="5"&gt;$$$$$&lt;/option&gt;
        &lt;/select&gt;
        &lt;label&gt;Pricing:&lt;/label&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>app.post('/newreview', function(req, res){
  
    Review.create(req.body({
    stars : parseInt(req.body.stars),
    price : parseInt(req.body.price)
    })).then(function(user){
      res.redirect('/');
    }).catch(function(err){
      console.log(err);
      res.redirect('/?msg=' + err.message);
    });
  });
  </code></pre>