3 ms·
> ticker text, position integer, purchase_price real Oops, bad example. Never store money using a floating-point data type! SQLite has a NUMERIC type that pres
by kijin 13y ago
> ticker text, position integer, purchase_price real
Oops, bad example. Never store money using a floating-point data type! SQLite has a NUMERIC type that preserves the exact value of your decimal amount.