MATLAB Answers

denny
0

Why 0.6+0.3+0.1-1 is -1.11022302462516e-16, not 0 ? why?? A serials bug??

Asked by denny
on 20 Jun 2018
Latest activity Commented on by denny
on 9 Sep 2019
0.6+0.3+0.1-1

  1 Comment

This is not a bug, this is bucase the numeric calculation in a computer.
You can use a fraction to calculate it.

Sign in to comment.

Tags

0 Answers