Results 1 to 4 of 4

Thread: Log function[resolved]

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    47

    Resolved Log function[resolved]

    Hi all!
    is the Log function the natural logarithm (logarithm to base e)?
    thanks
    Last edited by ricardo13; Jun 29th, 2005 at 09:13 PM.

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Log function

    Returns the natural logarithm of a number.

    The natural logarithm is the logarithm to the base e. The constant e is approximately 2.718282.

    You can calculate base-n logarithms for any number x by dividing the natural logarithm of x by the natural logarithm of n as follows: Logn(x) = Log(x) / Log(n)

    The following example illustrates a custom Function that calculates base-10 logarithms:

    VB Code:
    1. Function Log10(X)
    2.    Log10 = Log(X) / Log(10)
    3. End Function
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    47

    Re: Log function

    Thanks a lot

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Log function[resolved]

    My pleasure to help.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width