Class: Float
Instance Method Summary collapse
Instance Method Details
#format_thousands ⇒ Object
351 352 353 |
# File 'lib/kiss/ext/core.rb', line 351 def format_thousands self.floor.format_thousands + self.to_s.sub(/[^\.]*/, '') end |