Notification

AppSheet will be conducting service maintenance starting Sunday, May 19th, 2024 at 12:00 PM (7:00 PM UTC) and completing no later than 4:00 PM PDT (11:00 PM UTC). 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
4269141427760873387
true
Search Help Center
true
true
true
false
false