3 4 5
# File 'lib/ruby_us/extensions/float.rb', line 3 def format self % 1 === 0 ? self.to_i : self end