LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using COS in VBA, incorrect value returned

I did a bit of a search on this but when using VBA and having the
following equation the Cos function returns a value of 1 rather than
the correct -1. What am i doing wrong?

temp=cos(pi)

regards

Steve

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
#N/A value is returned Sai Excel Worksheet Functions 7 July 15th 07 11:05 PM
No value returned in if statement Shellack Excel Worksheet Functions 3 March 23rd 06 07:49 PM
need to know how to get the sum of right product returned farmer Excel Worksheet Functions 5 March 7th 06 01:10 PM
Using the returned value of a function adombrowski New Users to Excel 1 December 21st 05 07:01 AM
#Value! Returned ? John Excel Worksheet Functions 2 December 6th 04 08:55 PM


All times are GMT +1. The time now is 02:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"