module CoreExtensions::Numeric::SPISU

Adds a general format method that belongs in more than one class and is more a utility function belonging to the SPISU-format more than anything else.

@author Michael Litton

Public Instance Methods

spisu_format() click to toggle source
# File lib/core_extensions/numeric/spisu.rb, line 10
def spisu_format
  ("%.2f" % self).gsub(".","")
end