title: Flask-SQLAlchemy Numeric Type
body: <p>I’m making a Flask-SqlAlchemy app. In one model I want to store geo code data as a lat/long.</p>
  
  <p>From reading other posts, I should use Numeric not Float.</p>
  
  <p>The documentation for type Numeric lists several arguments available:  </p>
  
  <pre><code>precision=None, asdecimal=False, decimal_return_scale=None
  </code></pre>
  
  <p>So I tried adding a column as </p>
  
  <pre><code>db.Column(db.Numeric, precision=8, asdecimal=False, decimal_return_scale=None) — as the equivalent of DECIMAL(10,8)
  </code></pre>
  
  <p>Which returned an error of:</p>
  
  <pre><code> "Unknown arguments passed to Column: " + repr(list(kwargs)))
  </code></pre>
  
  <p>sqlalchemy.exc.ArgumentError: Unknown arguments passed to Column: ['asdecimal', 'decimal_return_scale', 'precision']</p>
  
  <p>If I use db.Column(db.Numeric), I’m able to create the tables and write to it.</p>
  
  <p>Would someone explain to me if there is a syntax error in what I passed here:
  db.Column(db.Numeric, precision=8, asdecimal=False, decimal_return_scale=None) — as the equivalent of DECIMAL(10,8)</p>
  
  <p>What is the proper way to utilize/define a Numeric type column.</p>