ROUNDing number according to Bankers algorithm
385050Jan 9 2003 — edited Jan 9 2003I need an oracle function which performs Bankers algorithm to round number value. ROUND() function in Oracle performs rounding of 0.5 to 1 and 1.5 to 2 which results in adding extra 0.5 value each time it is used. In the Bankers algorithm 0.5 will round to 0 and 1.5 will round to 2 which balances the effect when the two rounded values are added.