Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-07-2009, 08:18 PM   #3 (permalink)
imntacrook
Registered Member
 
Join Date: Sep 2008
Age: 67
Posts: 112
Default

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.
imntacrook is offline   Reply With Quote
 

» Advertisements
» Online Users: 738
18 members and 720 guests
cbrauchli, ChenXin, chits12345, gc2010, Grace.H, ilmman, JamesCahall, kaileymo123, Lanka001, Leoknico, mikeporras, Moe2392, MozyMac, nidie, rrlemoine, supasounds, xlc
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,813
Threads: 89,206
Posts: 380,630
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Leoknico
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:50 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.