Notification

The AppSheet Help Center documentation can now be viewed in Japanese - AppSheet ヘルプセンターのドキュメントが日本語で表示できるようになりました。. Learn more

LOG2()

Base 2 logarithm of a numeric value

Returns the computed logarithm of x with base 2 as a Decimal value.

Sample usage

LOG2(3.14) returns 1.6507645591169 (equivalent to LOG(3.14, 2))

LOG2(8) returns 3 (equivalent to LOG(8, 2))

LOG2(4096) returns 12 (equivalent to LOG(4096, 2))

LOG2(POWER(2, 32)) returns 32

POWER(2, LOG2(32)) returns 32.00

Syntax

LOG2(x)

  • x - Any numeric type.

See also

LN()

LOG() 

LOG10()

POWER()

SQRT()

 

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
5069636863891333414
true
Search Help Center
true
true
true
false
false