- This wiki is out of date, use the continuation of this wiki instead
Ln
From FenixWiki
(Difference between revisions)
Revision as of 14:28, 29 July 2008
Contents |
Definition
FLOAT ln ( <FLOAT n> )
Returns the natural logarithm of number n (logarithm with base e).
Parameters
| FLOAT n | - The number that will be used for the logarithm. |
Returns
FLOAT : The natural logarithm of n.
Example
Import "log.dll";
Global
float logarithm=0.0;
Process main()
Begin
write_float(0,160,100,4,&logarithm);
While(not(key(_esc)))
If (key(_1)) logarithm=ln(13.37); End
Frame;
End
End
Used in example: import, write_float(), key(), ln()
Categories: Functions | Logdll | Dll
