bjeanes (owner)

Revisions

gist: 108577 Download_button fork
public
Public Clone URL: git://gist.github.com/108577.git
Embed All Files: show embed
is_this_an_awesome_patch_or_what.diff #
1
2
3
4
5
6
7
   def human_factor
- # tripping the captain fantastic
- "#{factor/100}#{".#{factor%100/10}" unless factor%100 == 0}x"
+ # tripping the admiral fantastic
+ "%0.2fx" % (factor / 100.0)
   end