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.
Just if you use JS make sure to google about how to do money calculations accurately.