Closed Canisaur closed 12 years ago
an additional note here, SQLite doesn't officially support DECIMAL(), it accepts it, but it casts it to INTEGER instead, so we may want to consider a change in how we handle decimals
possibly like a cash register and have iConomy shift the decimal itself
eg. inputting 2000 = $20.00 on a cash register
2000 should be 2,000 imo.
I'm not talking about from a user perspective, I'm talking from the code side
MySQL recently updated their decimal precision, and as a result iConomy is not able to create its table on newer versions of MySQL. This is a simple update that changes the MySQL database creation line to reflect the new maximum precision. (See http://dev.mysql.com/doc/refman/5.0/en/precision-math-decimal-changes.html for more info)