Difference between revisions of "LOG()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 33: Line 33:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Numeric Data]]
 +
[[Category:Numeric Data Functions]]

Revision as of 08:58, 2 June 2009

Class

Numeric Data


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

Recital Database Server, Recital Mirage Server, Recital Terminal Developer