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

LogTen – PB Docs 150 – PowerBuilder Library

LogTen – PB Docs 150

LogTen PowerScript function

Description

Determines the base 10 logarithm of a number.

Syntax

Argument

Description

n

The number for which you want the base
10 logarithm. The value of n must not be negative.

Usage

Double. Returns the base 10 logarithm
of n. An execution error occurs if n is negative.
If n is null, LogTen returns null.

note.png

Inverse of LogTen

The expression 10^n is
the inverse of LogTen(n).
To obtain the value of n in the equation r = LogTen(n),
use n = 10^r.

Examples

This statement returns 1:

The following statements both return 0:

This statement results in an execution error:

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

See Also

  • Exp

  • LogTen

  • LogTen method for DataWindows
    in the DataWindow Reference or the online Help


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