Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Syntax 1: For all objects – PB Docs 2019 – PowerBuilder Library

Syntax 1: For all objects – PB Docs 2019

Syntax 1: For all objects

Description

Determines the natural logarithm of a number.

Syntax

Argument

Description

n

The number for which you want the natural logarithm
(base e). The value of n must be greater than 0.

Return value

Double.

Returns the natural logarithm of n. An execution error occurs if n
is negative or zero. If n is null, Log returns null.

Inverse of Log

The inverse of the Log function is the Exp function.

Examples

This statement returns 2.302585092:

This statement returns -.693147. . .:

Both these statements result in an error at runtime:

After the following statements execute, the value of a is
200:

See also

Exp

LogTen

Log method for DataWindows in the section called “Log” in DataWindow Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x