印度金融交易的 BigDecimal 舍入模式是什么?
What is the BigDecimal Rounding mode for financial transactions in India?
我知道美国的舍入模式是
RoundingMode.HALF_EVEN
也称为银行家模式,印度政府批准的舍入模式是什么?
正如评论中所解释的,印度常用的模式是HALF_UP
:
should be rounded off to the nearest rupee; i.e. fraction of 50 paise and above shall be rounded off to the next higher rupee and fraction of less than 50 paise shall be ignored.
来源:
- Reserve Bank of India (RBI/2006-2007/315, RPCD.CO.RF.BC.No.67 /07.02.01/2006-07)
- GST India (Goods and Services Tax)
请注意,这并不一定意味着此模式用于印度的所有应用程序。
我知道美国的舍入模式是
RoundingMode.HALF_EVEN
也称为银行家模式,印度政府批准的舍入模式是什么?
正如评论中所解释的,印度常用的模式是HALF_UP
:
should be rounded off to the nearest rupee; i.e. fraction of 50 paise and above shall be rounded off to the next higher rupee and fraction of less than 50 paise shall be ignored.
来源:
- Reserve Bank of India (RBI/2006-2007/315, RPCD.CO.RF.BC.No.67 /07.02.01/2006-07)
- GST India (Goods and Services Tax)
请注意,这并不一定意味着此模式用于印度的所有应用程序。