Module: BBMB::Html::View::Vat
- Included in:
- ListPrices
- Defined in:
- lib/bbmb/html/view/list_prices.rb
Instance Method Summary collapse
Instance Method Details
#vat(model) ⇒ Object
8 9 10 11 12 |
# File 'lib/bbmb/html/view/list_prices.rb', line 8 def vat(model) if(vat = model.vat) sprintf("%.1f%%", vat.to_f) end end |