Sha256: 493191a45cac13551c8581e141551d4fd43cdbdbf4043d340ddbfef4cf72c714

Contents?: true

Size: 293 Bytes

Versions: 20

Compression:

Stored size: 293 Bytes

Contents

# Round towards the nearest neighbor, unless both neighbors are
# equidistant, in which case round towards the even neighbor
# (Bank rounding)
# usage of BigDecimal method: div(value, digits)
# usage of BigDecimal method: mult(value, digits)
BigDecimal.mode(BigDecimal::ROUND_HALF_EVEN, true)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
loan_creator-0.6.1.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.12.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.12.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.11.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.10.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.9.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.9.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.8.2 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.8.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.8.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.7.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.7.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.6.3.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.6.2 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.2.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.2.1 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.2.2 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.2.3 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.5.0 lib/loan_creator/initialize_bigdecimal.rb
loan_creator-0.6.1 lib/loan_creator/initialize_bigdecimal.rb