class Iro::Purse
def delta_to_plot_p( *args )
# delta to plot percentage
def delta_to_plot_p( *args ) x = delta_wt_avg( *args ).abs if x < 0.5 y = 1 else y = 2 - 1/( 1.5 - x ) end y_ = "#{ (y*100) .to_i}%" return y_ end
def delta_to_plot_p( *args ) x = delta_wt_avg( *args ).abs if x < 0.5 y = 1 else y = 2 - 1/( 1.5 - x ) end y_ = "#{ (y*100) .to_i}%" return y_ end