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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com