Find the logarithm of a value
Float:flog( Float:value, Float:base=10.0 )
Find the logarithm of the given value, using the given base. By default flog returns log10.
To return the natural logarithm, use flog( value, E )
.
value | input value |
base | base (optional, default is 10) |
Returns the logarithm of value
using the given base.
new Float:x; x = flog( 100 ); // 2 x = flog( 100, E ); // 4.60517