Hacker News new | ask | show | jobs
by tudorconstantin 3006 days ago
Try and add 2 ethereum amounts correctly without using a library.

They have 18 decimal places.

1 comments

DECIMAL(38, 18) in SQL should do nicely for that.