Class: Plurimath::Formatter::LocalizedNumber
- Inherits:
-
TwitterCldr::Localized::LocalizedNumber
- Object
- TwitterCldr::Localized::LocalizedNumber
- Plurimath::Formatter::LocalizedNumber
- Defined in:
- lib/plurimath/formatter/localized_number.rb
Instance Method Summary collapse
Instance Method Details
#to_s(options = {}) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/plurimath/formatter/localized_number.rb', line 4 def to_s( = {}) opts = { type: @type, format: @format }.merge() NumberDataReader .new(locale, opts) .format_number(base_obj, opts) end |