Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The LN() function returns the value of the natural logarithm of the supplied value. The function takes the general form: 


Where expression should evaluate to a numeric value. The function will then return the natural logarithm of that value. 

The calculation of the natural logarithm is by using the mathematical constant e as a number base. The portion of code below would display the natural logarithm of pi.  

CRT LN(22/7)

Go back to jBASE BASIC.

Was this article helpful?