lib/baseball/player.rb in baseball-2.0.1 vs lib/baseball/player.rb in baseball-2.0.2
- old
+ new
@@ -45,10 +45,10 @@
player_ops_string = player_ops.round(3)
player_ops_string = player_ops_string.to_s
if player_ops_string[0] == "0"
figure_lead_and_trailing_zeroes(player_ops_string)
else
- player_ops_string
+ figure_multiple_trailing_zeroes(player_ops_string)
end
end
def runs_created
total_production = (singles + (doubles * 2) + (triples * 3) + hr * 4) * (hits + walks)