Hacker News new | ask | show | jobs
by tumetab1 702 days ago
> 2. Arbitrary precision numeric data types with vetted operations and rounding modes.

Be aware that a good rationale for choosing the database but you should enforce a specific precision per table otherwise you can get nasty accounting bugs because you're adding a 3.0095 amount with an 9.99 amount.

1 comments

Yes. The data type itself supports arbitrary precision. I'm not suggesting that you chose the precision arbitrarily.