User Tools

Site Tools


uphp:functions:log10

log10

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Return the base 10 logarithm of a number

Description

float log10 ( number $number )

Parameter

$number: A number

Return Values

Float: Base 10 logarithm of the number

Examples

<?
  $val=log10(10);
  print($val); // outputs 1
?>

See Also

ln() - Return the natural logarithm of a number

power() - Return base raised to the power of exp

uphp/functions/log10.txt · Last modified: 2021/09/13 05:57 (external edit)