error in helpfile - function LOG

Here one can report bugs or hold discussions about bugs updates and work arounds.
Post Reply
Fazer
Posts: 30
Joined: Tue Apr 29, 2008 12:43 pm

error in helpfile - function LOG

Post: # 215Post Fazer
Tue May 06, 2008 2:03 pm

This is from the help file about the function LOG:
-------------------------------------------------------------------------------
"  LOG   function
  Syntax : LOG(argument,[argument2])

  It returns the logarithm.

  As argument2 is not being given the course logarithm is then returned.

  Example:
  DIM X AS DOUBLE
  X=log(10)
  X has now the value 2,3

  X=log(10,100)       X=10log100

  X has now the value 10"
-----------------------------------------------------------------------
But the result of X=log(10,100) is not 10. It is 2 !!!

regards
Fazer

Post Reply