OBP (On-Base Percentage) = (Hits + Walks + Hit by Pitch) ÷ (At Bats + Walks + Hit by Pitch + Sacrifice Flies)
Formula: OBP = (H + BB + HBP) / (AB + BB + HBP + SF)
H = Hits
BB = Walks
HBP = Hit by Pitch
AB = At Bats
SF = Sacrifice Flies
Exclude sacrifice bunts from the formula
Round the result to three decimal places
