[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Log expression



>> what is the MacPerl expression to take the log of something
>>
>> e.g. log $X
>>
>
>Have you tried the following?
>
>log $X

This will give you the natural logarithm, ln of the number,

( log $X ) / ( log 10 )

will of course give you log base 10 of the number.

>> despite searching Perl help sites and documentation including books and www
>> sites.

_Programming Perl_  ("The Camel Book") p.186

Paul Hackett



===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org