|
| |||||||||
| Tags: arithmetic, errors, excel, floating point, ieee, microsoft works |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to correct Rounding Errors in Floating Point Arithmetic?
Hello friends, I am doing some arithmetic functions in an Excel and also facing some issues. Since I am not that much good enough, I am not able to fix the problems that I am facing. Actually I am not able to correct rounding errors in floating point. I have tried a lot of different things, but not getting the proper results. So please tell me how to correct rounding errors in floating point arithmetic..?? Thanks in Advance.!! |
|
#2
| ||||
| ||||
| Re: How to correct Rounding Errors in Floating Point Arithmetic?
I would like to explain exactly what is the main reason for the incorrect results. Many combinations of arithmetic operations on floating point numbers in Microsoft Excel and Microsoft Works can produce results that appear to be incorrect by very small amounts. For example, the equation :
|
|
#3
| ||||
| ||||
| Re: How to correct Rounding Errors in Floating Point Arithmetic?
This behavior is not a problem or a limitation of Excel or Works; this behavior occurs because the 754 floating point standard Institute of Electrical and Electronics Engineers (IEEE) requires that the numbers are stored in binary format. Microsoft Excel was designed around the IEEE 754 specification with respect to storing and calculating floating-point numbers. The IEEE 754 is a method of storing floating point numbers in compact form, which is easy to manipulate. This standard uses Intel coprocessors and most PC based programs that implement floating point mathematics.
__________________ Ram requirement for various OS |
|
#4
| ||||
| ||||
| Re: How to correct Rounding Errors in Floating Point Arithmetic?
To minimize the effects of inaccuracy of floating point arithmetic storage, use the Round () function to round numbers to the number of decimal places is required for calculation. For example, when working with currency, you should probably round off to two decimal places : Code: = ROUND (1 * (0.5-0.4-0.1), 2) |
|
#5
| ||||
| ||||
| Re: How to correct Rounding Errors in Floating Point Arithmetic?
You can often avoid errors affecting their work using the display precision floating point rounding option. This option causes the value of each number in the spreadsheet that the precision displayed in the spreadsheet. To use the precision option screen, follow these steps :
|
|
#6
| ||||
| ||||
| Re: How to correct Rounding Errors in Floating Point Arithmetic?
The steps for the precision option, that is provided by 'Raine' would be useful for Excel 2003. If you are having Excel 2007, then follow the steps mentioned below :
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to correct Rounding Errors in Floating Point Arithmetic?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ error "floating point support not loaded" | addie | Software Development | 4 | 23-12-2011 07:33 PM |
| floating point issue.Why is it so? | maria_megha | Software Development | 1 | 23-07-2011 05:00 AM |
| VLC 1.1.7/openSUSE 11.3 having Floating point exception problem | Bryant | Windows Software | 6 | 12-07-2011 12:14 PM |
| Converting the floating point number to the hexadecimal on the Microsoft Excel 2010 | Aag-Man | Windows Software | 5 | 11-07-2011 11:38 AM |
| How to convert fractional inches into rounding numbers | Rock Villa | Software Development | 2 | 01-07-2009 01:54 PM |