Difference between revisions of "LOG()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return natural logarithm for a specified numeric expression
 
Function to return natural logarithm for a specified numeric expression
 
  
 
==Syntax==
 
==Syntax==
 
LOG(<expN>)
 
LOG(<expN>)
 
  
 
==See Also==
 
==See Also==
 
[[ACOS()]], [[ASIN()]], [[ATAN()]], [[ATN2()]], [[COS()]], [[DTOR()]], [[EXP()]], [[LOG10()]], [[PI()]], [[RTOD()]], [[SIN()]], [[TAN()]], [[SET DECIMALS]], [[SET FIXED]]
 
[[ACOS()]], [[ASIN()]], [[ATAN()]], [[ATN2()]], [[COS()]], [[DTOR()]], [[EXP()]], [[LOG10()]], [[PI()]], [[RTOD()]], [[SIN()]], [[TAN()]], [[SET DECIMALS]], [[SET FIXED]]
 
  
 
==Description==
 
==Description==
 
The LOG() function returns the natural logarithm of the given numeric expression <expN>.  The SET DECIMALS command determines the number of decimal places returned.  By default, SET DECIMALS is set to 2.
 
The LOG() function returns the natural logarithm of the given numeric expression <expN>.  The SET DECIMALS command determines the number of decimal places returned.  By default, SET DECIMALS is set to 2.
 
  
 
==Example==
 
==Example==
Line 23: Line 19:
 
N
 
N
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==
Recital Server, Recital
+
Lianja Server, Lianja
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Numeric Data]]
 
 
[[Category:Numeric Data Functions]]
 
[[Category:Numeric Data Functions]]

Latest revision as of 09:07, 4 February 2013

Purpose

Function to return natural logarithm for a specified numeric expression

Syntax

LOG(<expN>)

See Also

ACOS(), ASIN(), ATAN(), ATN2(), COS(), DTOR(), EXP(), LOG10(), PI(), RTOD(), SIN(), TAN(), SET DECIMALS, SET FIXED

Description

The LOG() function returns the natural logarithm of the given numeric expression <expN>. The SET DECIMALS command determines the number of decimal places returned. By default, SET DECIMALS is set to 2.

Example

set decimals to 5
? log(2.71828)
   1.00000
? type("log(2.71828)")
N

Products

Lianja Server, Lianja