Enabling the rounding function with mathjs

Good evening,

Following this feature request: Dashboard - arrondi des données affichées - #9 par pierre-gilles

It turned out that we use mathjs to perform the calculations.
So this feature request is dedicated to implementing the rounding function with mathjs

Of course I can’t vote because I’ve exceeded the quota ^^

Thanks :wink:

Hi @prohand, actually it looks like it’s already enabled, I think :slight_smile:

I ran a local test with some logs:

It seems to be working!

Can you test it and let me know?

Thanks :slight_smile:
I’m testing this :

I’ll keep you posted on the result :slight_smile:

1 Like

It works, but can we round to 2 decimal places instead of to the nearest integer? :wink:

I finally found it :slight_smile: :

1 Like

Excellent! All good then? How did you do it? :slight_smile:

Yes everything is ok :slight_smile:
I’ve updated the screenshot :slight_smile: