 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] [mathcad]Re: Rounding up/down error
| [mathcad] [mathcad]Re: Rounding up/down error |
|
Author: Markos E Psarros
Posted: Tue, 15 Jul 2003 11:28:02 +0300
|
Dear Sander
Have you checked what is the ACTUAL number that underlies 0.04425?
If in 6 decimal points accuracy it was 0.044248 it would round in 5 digits as 0.04425 (48 turns to 50) but if it was round to 4 digits it would give 0.0442 (because 248 rounds to 200 since it is NOT more than 250)!!
That for, check the result in 6 or even 8 digits accuracy and you'll see!
Markos
*********** REPLY SEPARATOR ***********
On 15/7/2003 at 9:12 đě Sander Lablans wrote:
[Edit] and now with attachment... [Edit]
Hello list,
I have been using a calculation with a number of 0.04425 N/mm^2. However, I noticed a strange behavior when I modified the properties of a result to show me 4 digits. Normally, it would then show me 0.0443 as a 5 always rounds up. However, as you can see in the attached mathcad-sheet, MathCad decides that it does not want to show 0.0443, but 0.0442. I have been playing with a few other numbers, but this is the only one I have found. Can someone tell me, whether this is a bug in MathCad, or that there is an option included in MathCad that makes sure that some results are rounded to a different value? (Or perhaps someone else has encountered the same rounding error somewhere else...)
Regards,
Sander Lablans
---------------------------------
NedTech Engineering B.V.
The Netherlands
**********END OF INITIAL MESSAGE*******
Dr. Markos E. Psarros
Ph.D. Civil Engineering
General Manager Software Imports and Sales
MP & Associates
33 Skoufa Str.
ATHENS 106 73
GREECE
Tel: +30-210-3633977
Fax: +30-210-3617108
e-mail: />
http://www.mpassociates.gr
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
|
Previous by date: [mathcad] Re: Rounding up/down error, Chris Whitford
Next by date: [mathcad] RE: [mathcad]Re: Rounding up/down error, Sander Lablans
Previous thread: [mathcad] Rounding up/down error, Sander Lablans
Next thread: [mathcad] RE: [mathcad]Re: Rounding up/down error, Sander Lablans
|
|
|