module Bizsh::Functions
All of the functions we’ll use to calculate stuff.
Public Instance Methods
growth(present)
click to toggle source
Calculate growth rates.
# File lib/bizsh.rb, line 45 def growth(present) past = self.to_f (present.to_f - past) / past end