Switch to desktop version  
Natural logarithm in basic on ewon - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: Natural logarithm in basic on ewon (/thread-2802.html)



Natural logarithm in basic on ewon - Maxime.Charlier - 13-10-2025

Hello everyone

Has anyone ever used calculations involving natural logarithms?

I would like to calculate the dew point temperature from measurements taken by humidity and temperature sensors, using a mathematical formula.

Thanks in advance.
Max.


RE: Natural logarithm in basic on ewon - simon - 16-10-2025

Hi Max,

In BASIC, it is not possible.
However, in JAVA, you can do it using :
public class NaturalLogExample {
public static void main(String[] args) {
double x = 10.0;
double ln = Math.log(x);
System.out.println("ln(" + x + ") = " + ln);
}
}