Log
Log( value )
Log( value )
Log( value )
Log( value )
log( value )
Log( value )
Parameters
Argument | Type | Definition and Requirements |
---|---|---|
|
The number whose base-10 natural logarithm should be returned. |
Examples
The following query returns the base-10 natural logarithm of the value 0.5:
Value result = await client.Query(
Log(0.5)
);
Console.WriteLine(result);
DoubleV(-0.3010299956639812)
result, err := client.Query(
f.Log(0.5))
if err != nil {
fmt.Fprintln(os.Stderr, err)
} else {
fmt.Println(result)
}
-0.3010299956639812
System.out.println(
client.query(
Log(Value(0.5))
).get());
-0.3010299956639812
client.query(
q.Log(0.5)
)
.then((ret) => console.log(ret))
.catch((err) => console.error('Error: %s', err))
-0.3010299956639812
result = client.query(
q.log(0.5)
)
print(result)
-0.3010299956639812
println(Await.result(
client.query(
Log(0.5)
),
5.seconds
))
-0.3010299956639812
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!