How to avoid floating point math

cornwallav8r:
ahem...what's a code tag?

OK, here's some boilerplate. Read it, though:

Read this before posting a programming question

Please edit your post, select the code, and put it between [code] ... [/code] tags.

You can do that by hitting the # button above the posting area.