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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: compare values
View Single Post
Old 03-18-2010, 10:35 AM   #1 (permalink)
ivanraso
Registered Member
 
Join Date: Dec 2009
Posts: 142
ivanraso is on a distinguished road
Exclamation compare values

Hi. I am taking the values of the accelerometer and compare with doubles. I mean, i take the value of the axy X and i wanto to compare with double x=0.00023 for example....but it doesnt work.anyone have an idea???

if(acceleration.x==x){
////something
}

THANKSSSS

Last edited by ivanraso; 03-18-2010 at 10:54 AM.
ivanraso is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,542
Threads: 94,065
Posts: 402,676
Top Poster: BrianSlick (7,989)
Welcome to our newest member, DieScumBag
Powered by vBadvanced CMPS v3.1.0

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