Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Function Reference » Alphabetical list of functions

LOG function [Numeric] Next Page

LOG10 function [Numeric]

Returns the base 10 logarithm of a number.


LOG10( numeric-expression )


numeric-expression    The number.


The argument is an expression that returns the value of any built-in numeric data type.

This function converts its argument to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result. If the parameter is NULL, the result is NULL.

See also
Standards and compatibility

The following statement returns the base 10 logarithm for 50.

SELECT LOG10( 50 );