ln, log
ln(x) calculates logarithm on base e
log(x) calculates logarithm on base 10.
Indirect parameter passing is disabled
1
No. | Type | Description |
---|---|---|
1 input |
numeral | Value Value to use for logarithmic calculation |
Type | Description |
---|---|
numeral | Result Calculated logarithm value |
echo( log( 1000 ), " ", log( 0.001 ) );
echo( ln(1000) / ln( 10 ), " ", ln( 0.001) / ln(10) );
3 -3
3 -3