Dave

Dave

  • NA
  • 20
  • 0

what does this achieve

Apr 30 2013 5:39 PM
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)