Jump to: navigation, search

Php log10

From w3cyberlearnings

Contents

PHP function log10

This function returns a base 10 logrithm.

Syntax log10

X is a number.

log10(X)

Example 1

<?php

echo log10(100);
echo "<br/>";
echo log10(1000);
?>

Output

2
3


Related Links


Navigation
Web
SQL
MISC
References