The ERA or WHIP for a pitcher will be displayed as INF for the day if he gives up earned runs (or hits and walks for WHIP) while failing to record an out.
ERA = (Earned Runs / Innings Pitched) * 9
WHIP = (Walks + Hits) / Innings Pitched
Any number divided by zero is infinity. Our system reflects the number as INF.
The totals recorded by that player are still added to team totals when ERA/WHIP is calculated. For example:
Smith: 0 IP, 3 ER = INF ERA
Jones: 3 IP, 1 ER = 3.00 ERA
Total: 3 IP, 4 ER = 12.00 ERA