LOG10 (NoSQL query)
APPLIES TO:
NoSQL
Returns the base-10 logarithm of the specified numeric expression.
Syntax
LOG10(<numeric_expr>)
Arguments
Description | |
---|---|
numeric_expr |
A numeric expression. |
Return types
Returns a numeric expression.
Examples
The following example returns the logarithm value of various values.
SELECT VALUE {
logFiveBaseTen: LOG10(5),
logTwoBaseTen: LOG10(2),
logHundredBaseTen: LOG10(100)
}
[
{
"logFiveBaseTen": 0.6989700043360189,
"logTwoBaseTen": 0.3010299956639812,
"logHundredBaseTen": 2
}
]
Remarks
- This function doesn't use the index.
- The
LOG10
andPOWER
functions are inversely related to one another.
Related content
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें