Search code examples
javabigdecimal

What is the BigDecimal Rounding mode for financial transactions in India?


I know that for US the rounding mode is

RoundingMode.HALF_EVEN

Also known as Bankers mode, what is the government approved rounding mode in India?


Solution

  • As explained in the comments, the commonly used mode in India is 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.

    Sources:

    Note that this does not necessarily mean that this mode is used for all applications in India.