Aggregate value doesnt use decimals from custom fields

I have custom fields that have numerical data as values (also values that include decimals - 1.5 or 10.1 etc)

When doing an aggregation, the sum leaves out the decimal part:

1.5 + 10.9 = 11

 

It does work correctly on standard fields, though ...

 

Any ideas on what should i check or change?

Thanks

3 answers

What do you mean b\y the aggregation? How do you do it? Some JavaScript or addon or in excel?

0 votes
Tarun Sapra Community Champion Jan 26, 2017

If you are using script runner for, make sure you use "Double" type 

How exactly do I control that?

When I create a new custom field, I just have the option to choose "Number Field" ...

Tarun Sapra Community Champion Jan 27, 2017

Put the (Double) type casting where the aggregation is taking place. which plugin are you using for this functionality?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

20 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you