Results 1 to 2 of 2

Thread: simple maths

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    6
    i am trying to use the natural log in an equation that i'm using:

    txtEs1.Text = txtEvap.Text * (Log ^ (0.4 * txtLAI.Text))

    the normal Log doesn't work, how do i use natural log?

    Thanks,
    Liam

  2. #2
    Addicted Member overhill's Avatar
    Join Date
    Mar 2000
    Location
    KS, United States
    Posts
    181
    I don't know what exactly you are trying to calculate, but you cannot take just the Log or the Natural Log raised to some power. You need a number in parenthesis after the Log function or it will not work. This is from VB Help:

    Log Function
    Returns a Double specifying the natural logarithm of a number.
    Syntax: Log(number)

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