Method: SportDbAdmin::FormatHelper#fmt_quote
- Defined in:
- app/helpers/sport_db_admin/format_helper.rb
#fmt_quote(num) ⇒ Object
15 16 17 18 19 20 21 |
# File 'app/helpers/sport_db_admin/format_helper.rb', line 15 def fmt_quote( num ) if num >= 10 "%3.0f" % num else "%3.2f" % num end end |