I need to calculate natural logarithms in my script. I have included a reference to the math library (import math
from System import Array), however function log() does not work. Please advise what I am doing wrong. Thanks for your help.
Regards,
Bob King
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
I need to calculate natural logarithms in my script. I have included a reference to the math library (import math
from System import Array), however function log() does not work. Please advise what I am doing wrong. Thanks for your help.
Regards,
Bob King
Hi Robert,
try calling the log function like this:
math.log()
another way to call the function is including just the log function reference like this:
from math import log
and then you can call the log function this way:
log()
Dear Gustavo,
Thank you for your advice. Works fine now.
Regards,
Bob