4 5 6
# File 'lib/ext/float.rb', line 4 def delimit(delim = ',') "#{to_i.delimit(delim)}.#{to_s.to_s[/\.(\d+)$/, 1]}" end