Core Function Log

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> Log( <expression> ) </pre> === Description === Returns the logarithm of a specified number. === Parameters === ==== expression ==== Any valid numeric expression. === ...")
 
 
Line 1: Line 1:
 
<pre>
 
<pre>
Log( <expression> )
+
Log( <expression>, <newbase> )
 
</pre>
 
</pre>
  
Line 12: Line 12:
  
 
Any valid numeric expression.
 
Any valid numeric expression.
 +
 +
==== newbase ====
 +
 +
Optional; The base of the logarithm.
  
 
=== Return Value ===  
 
=== Return Value ===  

Latest revision as of 16:02, 2 December 2011

Log( <expression>, <newbase> )

Contents

Description

Returns the logarithm of a specified number.

Parameters

expression

Any valid numeric expression.

newbase

Optional; The base of the logarithm.

Return Value

Returns the logarithm of a specified number.

Remarks

None.

Example

$Param = Log(2.0);
$Result = Cosh($Param);
MsgBox("The hyperbolic cosine of $Param is $Result.");
// Output: The hyperbolic cosine of 0.693147180559945 is 1.25.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox