Introduction
A handy-dandy blood-alcohol calculator. Obviously, this isn't to be used as an accurate measuring device, just rough estimate.
Background
Found a picture here that had a BAC formula, so I coded it for weekend use.
Using the code
Change the values as needed, your estimated BAC will update automagically. Here's the formula, for the curious.
(Number of drinks / 2) * (9 / Weight for Men OR 7.5 /
Weight for Women) - (.016 * Hours Drinking) = BAC
Points of Interest
Setting all controls on the forms' 'value changed' (or equivalent) to the same 'calc()
' function made for little code.