OK Thanks! I appreciate that, let me try double. And thats a good tip about the NSLog, I didn't realize that. Not to be vague or anything but the percent is going to be (100 / 9 * levelreached) * (45 - hits) / 36; I know that doesn't mean anything to you, but what I'm doing is testing one thing at a time. Just trying to get the output to look correct now.
************ update
double still gives me all zeros after the decimal point.
|