Help with Math function

G

go4saint

Guest
Hello,

I've started to develop an simple app, and at the end I found that it is not working because "exp" math function is not recognized.

Can anyone help me with this math function ?

Thanks!
 

klaus

Expert
Licensed User
Hello go4saint,

instead of Exp(x) you should use cE^x
cE is the constant e

There is also a difference with VB for the Log function
B4X:
            B4PPC      VB
log 10      Log(x)     Log10(x)
log e       LN(x)      Log(x)
Best regards
 
Top