-
-
Notifications
You must be signed in to change notification settings - Fork 20
log10
Vašek edited this page Jan 13, 2019
·
4 revisions
This function returns the log base 10 of n
log10(n)| Argument | Description |
|---|---|
double n |
The input value |
Returns: double
The function asks: "How many times number 10 must be powered by to equal n?" For example, function log10(1000) will return 3, Because 10x10x10 = 1000.
double value;
value = log10(100);This code will set value to 2.
double value;
value = log10(0.2);This code will set value to -0,69897.
Back to number_functions