kibana-datasweet-formula icon indicating copy to clipboard operation
kibana-datasweet-formula copied to clipboard

Problem with decimal

Open rgoliveirati opened this issue 5 years ago • 1 comments

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 ?

rgoliveirati avatar Oct 30 '19 19:10 rgoliveirati

Hi @rgoliveirati , you can use the numeraljs formatter. Please refer to numeralJS doc for further options : http://numeraljs.com/ image

lfroment-datasweet avatar Nov 04 '19 15:11 lfroment-datasweet