class BigDecimal

Public Instance Methods

round_50sen(n = 0) click to toggle source
# File lib/round_50sen/core_ext/bigdecimal.rb, line 3
def round_50sen(n = 0)
  round(n, BigDecimal::ROUND_HALF_DOWN)
end