Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
what does this achieve
Dave
Apr 30 2013 5:39 PM
1.1k
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
C# to Open Existing Excel Workbook
password in C# win Form