SOLVED

Format a decimal

Copper Contributor

All,

 

I've created a KQL query that outputs a value like "11.4030237198". How can I format this output to just display the it like 11.4 or 11.40 instead of the long number?

2 Replies
best response confirmed by Stanislav Zhelyazkov (MVP)
Solution
This is exactly why we have the round() function :)
https://docs.microsoft.com/en-us/azure/kusto/query/roundfunction

Brilliant! Thanks for responding!

1 best response

Accepted Solutions
best response confirmed by Stanislav Zhelyazkov (MVP)
Solution