Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
what does this achieve
Dave
11y
1.1k
1
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
C# to Open Existing Excel Workbook
password in C# win Form