|
|
|
|
|
by lalo2302
1797 days ago
|
|
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. |
|
I worked at a place that used doubles and there was no fallout. Also when dealing with very small quantities, fixed point might not work so well either.