Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$sin, $cos
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$sin, $cos
#
228824
11/01/11
07:18 PM
Joined:
Jan 2011
Posts: 2
A
Albin
OP
Bowl of petunias
OP
Albin
Bowl of petunias
A
Joined:
Jan 2011
Posts: 2
Hi there.
I'm using mIRC 7.17 and when I do //echo -a $sin(30°) or //echo -a $sin(30) [0.5]
mIRC returns -0.988032
Why?
Same for //echo -a $cos(60°) [0.5 again]
mIRC returns -0.952413
I really don't know why. Is it a bug or what?
Thanks in advance
Copy Link to Clipboard
Re: $sin, $cos
Albin
#
228825
11/01/11
07:42 PM
Joined:
Jan 2003
Posts: 2,523
Q
qwerty
Hoopy frood
qwerty
Hoopy frood
Q
Joined:
Jan 2003
Posts: 2,523
$sin/cos accept both radians and degrees as input. If you want to use degrees (eg 30), you have to use the .deg property, eg
$sin(30).deg
. Also see
/help $cos
.
Last edited by qwerty;
11/01/11
07:44 PM
.
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Copy Link to Clipboard
Re: $sin, $cos
Albin
#
228827
11/01/11
08:09 PM
Joined:
Jan 2011
Posts: 2
A
Albin
OP
Bowl of petunias
OP
Albin
Bowl of petunias
A
Joined:
Jan 2011
Posts: 2
Thank you!
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage