Method: Formatters::FormatDecimal#from
- Defined in:
- lib/formatters/format_decimal.rb
#from(value, options = {}) ⇒ Object
11 12 13 14 |
# File 'lib/formatters/format_decimal.rb', line 11 def from(value, = {}) = {:precision => 3, :delimiter => ','}.merge() number_with_precision value, end |