Navigation:  thinBasic Modules > Core > Numeric handling >

LOG2

Previous pageReturn to chapter overviewNext page

 

Description

 

LOG returns the natural (base e) logarithm of its argument.  LOG2 returns the base 2 logarithm.  LOG10 returns the common (base 10) logarithm.

 

Syntax

 

n = LOG2(NumericExpression)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning









 

Remarks

 

Restrictions

 

See also

 

Numeric Handling,

 

Examples