kibana-datasweet-formula
kibana-datasweet-formula copied to clipboard
Problem with decimal
Hello!
Using datasweet plugin Kibana 7.1.1 how to set the number of decimals?
agg1 = 16.459 agg2 = 7.469 datasweet = agg1 / agg2 = 2.2036417191056366
How to make it be 2.20 ?
Hi @rgoliveirati , you can use the numeraljs formatter. Please refer to numeralJS doc for further options : http://numeraljs.com/