Change the base of Log() using second parameter

Propose new features and changes
User avatar
HakitoJin
Posts: 1
Joined: 02 Oct 2016, 17:20

Change the base of Log() using second parameter

04 Jun 2018, 12:55

Here is what I am currently using:

Code: [Select all] [Download] GeSHi © Codebox Plus

LogBase(Number,Base=10)
{
return Log(Number)/Log(Base)
}

It would be neat if the built-in version could do the same.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 0 guests