From WikiChip
Difference between revisions of "mirc/identifiers/$cosh"
(Created page with "{{mirc title|$cosh Identifier}} '''$cosh''' returns the hyperbolic cosine of an angle of N radians. == Synopsis == <pre>$cosh(<N>)[.deg]</pre> == Switches == None == Parame...") |
(→Parameters) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{mirc title|$cosh Identifier}} | {{mirc title|$cosh Identifier}} | ||
'''$cosh''' returns the hyperbolic cosine of an angle of N radians. | '''$cosh''' returns the hyperbolic cosine of an angle of N radians. | ||
+ | |||
== Synopsis == | == Synopsis == | ||
− | < | + | <source lang="mIRC">$cosh(<N>)[.deg]</source> |
== Switches == | == Switches == | ||
Line 9: | Line 10: | ||
== Parameters == | == Parameters == | ||
− | + | ||
+ | * '''N''' - This is the angle in radians for which you wish to retrieve the hyperbolic cosine. | ||
+ | |||
+ | You can use the letter 'e' or 'd' as *10^N, <source lang="mIRC">$cosh(5e6) = $cosh($calc(5*10^6))</source> | ||
== Properties == | == Properties == | ||
− | + | '''deg''' - Sees N as degrees in a 360 degree circle instead of radians. | |
== Example == | == Example == | ||
− | < | + | <source lang="mIRC">//echo -a $cosh(30).deg</source> |
== Compatibility == | == Compatibility == | ||
Line 35: | Line 39: | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|cosh]] |
Latest revision as of 16:06, 16 August 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$cosh returns the hyperbolic cosine of an angle of N radians.
Synopsis[edit]
$cosh(<N>)[.deg]
Switches[edit]
None
Parameters[edit]
- N - This is the angle in radians for which you wish to retrieve the hyperbolic cosine.
$cosh(5e6) = $cosh($calc(5*10^6))
Properties[edit]
deg - Sees N as degrees in a 360 degree circle instead of radians.
Example[edit]
//echo -a $cosh(30).deg
Compatibility[edit]
Added: mIRC v7.33
Added on: 27 May 2014
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC identifier list