dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

log1p> <lcg_value
[edit] Last updated: Fri, 28 Jun 2013

view this page in

log10

(PHP 4, PHP 5)

log10Base-10 logarithm

Description

float log10 ( float $arg )

Returns the base-10 logarithm of arg.

Parameters

arg

The argument to process

Return Values

The base-10 logarithm of arg

See Also

  • log() - Natural logarithm



add a note add a note User Contributed Notes log10 - [2 notes]
up
2
jphansen at uga dot edu
2 years ago
Alternatively log(x, 10) may be used.
up
0
smalladi at lexgen dot com
11 years ago
Note that log of a negative or undefined number returns -Infinity.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites