Difference between revisions of "Documentation/How Tos/Calc: LOG function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:LOG function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_POWER_function
 +
|NextPage=Documentation/How_Tos/Calc:_LN_function
 +
}}__NOTOC__
  
 
== LOG ==
 
== LOG ==
 
Returns the logarithm of a number to the specified base.
 
Returns the logarithm of a number to the specified base.
 
  
 
=== Syntax: ===
 
=== Syntax: ===
 
<tt>'''LOG(number; base)'''</tt>
 
<tt>'''LOG(number; base)'''</tt>
 
: returns the logarithm to base <tt>'''base'''</tt> of <tt>'''number'''</tt>.
 
: returns the logarithm to base <tt>'''base'''</tt> of <tt>'''number'''</tt>.
 
  
 
=== Example: ===
 
=== Example: ===
Line 17: Line 20:
 
: returns <tt>'''4'''</tt>.
 
: returns <tt>'''4'''</tt>.
  
 +
{{SeeAlso|EN|
 +
* [[Documentation/How_Tos/Calc: LOG10 function|LOG10]]
 +
* [[Documentation/How_Tos/Calc: LN function|LN]]
 +
* [[Documentation/How_Tos/Calc: POWER function|POWER]]
  
=== See also: ===
+
* [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]
'''[[Documentation/How_Tos/Calc: LOG10 function|LOG10]]''',
+
'''[[Documentation/How_Tos/Calc: LN function|LN]]''',
+
'''[[Documentation/How_Tos/Calc: POWER function|POWER]]'''
+
  
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 +
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Latest revision as of 14:59, 31 January 2024

LOG

Returns the logarithm of a number to the specified base.

Syntax:

LOG(number; base)

returns the logarithm to base base of number.

Example:

LOG(10; 3)

returns the logarithm to base 3 of 10 (approximately 2.0959).

LOG(7^4; 7)

returns 4.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_LOG_function&oldid=259873"
Views
Personal tools
Navigation
Tools
In other languages