2

Im trying to save a price variable in sqlalchmey but if its 78.6 it rounds up to 79.0

I've tried numeric and float datatypes and I'm using a postgresql heroku database

db.Column(db.Float(precision=1,asdecimal=False,decimal_return_scale=None))
val - disappointed in SE
  • 1,475
  • 3
  • 16
  • 40
Amr Ayman
  • 21
  • 2

0 Answers0