Comment

Comment by lalo2302

Take in consideration to not use floats for money. Use a `decimal` data format. I'd also advice against using javascript since it has problems dealing with big numbers. There are libraries of course to handle that.

Just if you use JS make sure to google about how to do money calculations accurately.

parent lalo2302 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton