Log10 function
Prototype: |
function Log10(const X: extended): extended; |
|
Description: |
The Log10 function returns the log base 10 of X. |
|
Syntax: |
Log10(X); / variable:= Log10(X); |
|
Part |
Description |
|
variable |
A variable declared as extended |
|
X |
The input (extended value) to the Log10 function |
|
Return value: |
The result of the calculation as an extended value |
|
Example:
var
x,z : extended;
begin
x:= 10;
z:= Log10(x);
ShowMessage(FloatToStr(z));
end.
// Next examples: Log10(1) = 0
// Log10(5) = 0.69897...
// Log10(12) = 1.07918...
Output in Field-Map Data Collector:

See also:
Power; Round; RoundTo, RoundVariant; Round2int, Cos; ArcCos; ArcCosH; Sin; ArcSin; ArcSinH; ArcTan; ArcTan2; ArcTanH; CosH; SinH; Tan; TanH; Random; RandomRange; Randomize; Floor; Ceil; Int; Frac; Log10; Ln; Exp; Abs; Min; Max; Odd; SecondsBetween;CompareValue; SameValue; Trunc
© 2024 IFER-Monitoring and Mapping Solutions