Class: IEX::Quote
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#change_percent_s ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/iex/quote.rb', line 40 def change_percent_s [ change_percent > 0 ? '+' : '', format('%.2f', change_percent * 100), '%' ].join end |