2
Answers

what does this achieve

Dave

Dave

11y
1.1k
1
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)