Calculation error for floor function floor(1.4/0.025)

 Akzeptierte Antwort

Iain
Iain am 20 Mai 2013

1 Stimme

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.

Weitere Antworten (1)

Kategorien

Mehr zu Elementary Math finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 20 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by