# (log10 number) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <!-- help-structure:notice --> > **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md). <!-- /help-structure:notice --> <a id="216"></a> ## (log10 number) --- Calculate the common logarithm. --- This function returns the common logarithm with base 10 (log10 x). This function cannot take a negative number. The result is a [real number](../../../Source%20Issues.md#issue-721e8431d821feb9). ### Examples | Code | Returns | | --- | --- | | (**log10** 100\) | 2.0 | | (**log10** 50.65) | 1.70458 | **NOTE** The [expt](%28expt%20base%20power%29.md) function is the opposite of the **log10** function. **Tell me about...** [(exp number)](%28exp%20number%29.md) [(log number)](%28log%20number%29.md) [LISP Compatibility](../LISP%20Compatibility.md) [Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md) <a id="holding"></a> ## Other versions with matching text [GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28log10%20number%29.md)