Calculation error for floor function floor(1.4/0.025)

 채택된 답변

Iain
Iain 2013년 5월 20일

1 개 추천

1.4/0.025 actually evaluates to 55.9999999999999928946.
The error is in the FIFTEENTH decimal place, which is an extremely small error, however, it is less than 56, and will "floor" to 55.

추가 답변 (1개)

카테고리

도움말 센터File Exchange에서 Elementary Math에 대해 자세히 알아보기

제품

질문:

2013년 5월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by