Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Possible error in MOD function
Try typing the following ...
=MOD((1/(TAN(PI()/4-ATAN(120/119)))),1) This produces the answer 1 in Excel 2000 and Excel 2003. I think it should be zero, because the expression before the comma in MOD equals -239 Peter K ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...et.f unctions |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Possible error in MOD function
On Fri, 22 Feb 2008 17:18:00 -0800, Peter K <Peter
wrote: Try typing the following ... =MOD((1/(TAN(PI()/4-ATAN(120/119)))),1) This produces the answer 1 in Excel 2000 and Excel 2003. I think it should be zero, because the expression before the comma in MOD equals -239 Peter K Actually, Excel calculates the part before the comma as: -239.000000000001 A formula like: =MOD(ROUND((1/(TAN(PI()/4-ATAN(120/119)))),10),1) does return 0 --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Function error | Excel Worksheet Functions | |||
If error function | Excel Worksheet Functions | |||
3D Function Error | Excel Discussion (Misc queries) | |||
IF THEN function error | Excel Worksheet Functions | |||
IF function with #N/A error | Excel Worksheet Functions |