Y
Hacker News
new
|
ask
|
show
|
jobs
by
marton78
2308 days ago
I don't know how it's done in the US, but in Europe financial calculations are done with four digits after the dot.
1 comments
catmanjan
2308 days ago
So store the value as milli-cents? (haha)
link
Loranubi
2308 days ago
Shouldn't that be centi-cents? ^^
link
inferiorhuman
2308 days ago
Or in MySQL: innocents.
link
Narkov
2308 days ago
More likely: varchar(255)
link
boshomi
2308 days ago
varchar(255) == varchar(2000000) in SQLite
The type system in SQLite is not as strict as it is in other RDBMS.
link