How to round the result of an aggregate operation (SUM, AVG, MAX, MIN) in cosmosDB?
After many tries I’m afraid to believe CosmosDb SQL API doesn’t allow such type of queries or equivalent
How can I round for instance an avg of a random attribute?
pseudo query (doesn’t work in cosmosDB):
SELECT ROUND(AVG(c.weight))
FROM c