Workaround: Decimal attribute value is sometimes not calculated in Rational Team Concert
Summary
When using a Calculated Value Set Provider to set the value of a decimal attribute, this value can sometimes be not calculated.
More Information
Context
You developed a nice Calculated Value Set Provider that intends, for example, to compute the product of the value of 2 other decimal attributes.
Issue: this works perfect when value1 = 1.07 and value2= 0.6, but not if; for example, value1 = 0.1 and value2= 0.1.
Why is that?Such behavior is symptomatic of a limitation regarding decimal values calculation.
Workaround
Use JavaScript toFixed() method in order to limit the number of decimals (currently, limit is 4).
So that our fixed script should look like:

Copyright © 2014 IBM Corporation