class MortgageBuddy::FloorRounding
Public Class Methods
round(num)
click to toggle source
# File lib/mortgage_buddy/floor_rounding.rb, line 4 def round(num) (num * 100).floor.to_f / 100 end
# File lib/mortgage_buddy/floor_rounding.rb, line 4 def round(num) (num * 100).floor.to_f / 100 end