-
formula for a game
i'm looking to make a little program that'll convert baseball player attributes into ratings for a baseball game and what i'm basically having a problem with is that i'm determining the player's power by dividing AB's (vs LHP and RHP) by HR's (also vs LHP and RHP). so 60 AB's / 6 HR's would be every 10 AB's, he hits a homerun. but the problem i'm having is the lower that number is, the more often he hits homeruns. the higher the power rating, the better. so they're opposite of each other and i'm not sure how to convert the AB/HR number to the POWER rating. it'll take some tweaking to get the numbers to convert to what i want but all i need is some sort of base formula or something that'll help me out.
-
Re: formula for a game
How about HR/AB instead of the other way around?
-
Re: formula for a game
lol man i can't believe i didn't think of that. thanks. that makes it a lot easier to convert to the ratings.