Rounding Standards - Financial Calculations

后端 未结 5 1320
时光说笑
时光说笑 2021-01-30 10:44

I am curious about the existence of any \"rounding\" standards\" when it comes to the calculation of financial data. My initial thoughts are to perform rounding only when the da

5条回答
  •  走了就别回头了
    2021-01-30 11:51

    Consider using scaled integers.

    In other words, store whole numbers of pennies instead of fractional numbers of dollars.

提交回复
热议问题