How to show log (e base logarithm) value in Qt?
-
I want to get log(10) value... I'm using qLn function but it gives me 2.3025 which is the value of ln... But how do I get the log (Normal e base) value in Qt?
-
@
#include <math.h>
log(10);
@ -
ln is normal e base logarithm... if you are looking for log that is 10 base logarithm... :)
-
Thanks Raven... It works... :-)