Maybe use this for decimals??
https://github.com/vpiotr/decimal_for_cpp