Difference between revisions of "Log10"
From SCAR Divi Manual
(→Example) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function Log10(X: Extended): Extended; | + | function Log10(const X: Extended): Extended; |
</source> | </source> | ||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Returns the | + | Returns the [http://en.wikipedia.org/wiki/Logarithm logarithm] of a value given by '''X''' with base 10. |
==Example== | ==Example== | ||
Line 27: | Line 27: | ||
*[[Log2]] | *[[Log2]] | ||
*[[LogN]] | *[[LogN]] | ||
+ | *[[Ln]] | ||
*[[LnXP1]] | *[[LnXP1]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Latest revision as of 11:26, 23 September 2011
Definition
function Log10(const X: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
Returns the logarithm of a value given by X with base 10.
Example
begin WriteLn(Log10(10)); WriteLn(Log10(5)); WriteLn(Log10(2)); end.
Output:
1 0,698970004336019 0,301029995663981