2
Reply

what does this achieve

Dave

Dave

Apr 30 2013 5:39 PM
1.1k
I can anyone tell me what the following does:


double accelerationFactor = Math.Abs(accelReading.Z) == 0 ? 0.1 : Math.Abs(accelReading.Z);

I understand the most part but im unsure what this means:
 == 0 ? 0.1 :

Thanks

Answers (2)