Log
Result# = Log(Value#)
 
Parameters:

    Value# = A positive value you wish to calc the LOG of
Returns:

    Result# = The natural logarithm of the input value.
 

      Log returns the natural logarithm of the input parameter.




FACTS:


      * Log is the inverse of the Exp() function




Mini Tutorial:


      This example calc the natural LOG of the 10

  
  
; Calc the natural log of 10
  e#=Log(10)
  
; Display this value
  Print e#
  
; display the Exp() of this Log value
  Print Exp(e#)
  
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




This example would output.

  
  2.30259
  10.0
  

 
Related Info: Exp | Log10 :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com