Index: Core/Common/src/Core.Common.Base/Data/RoundedDouble.cs =================================================================== diff -u -r6cdb90fc3f89fe0c44b62d3be7266a0090a6b891 -r2d299fe3ac16308a763adf12b4adcffdd97924b4 --- Core/Common/src/Core.Common.Base/Data/RoundedDouble.cs (.../RoundedDouble.cs) (revision 6cdb90fc3f89fe0c44b62d3be7266a0090a6b891) +++ Core/Common/src/Core.Common.Base/Data/RoundedDouble.cs (.../RoundedDouble.cs) (revision 2d299fe3ac16308a763adf12b4adcffdd97924b4) @@ -131,12 +131,9 @@ /// The converted . public RoundedDouble ToPrecision(int newNumberOfDecimalPlaces) { - if (newNumberOfDecimalPlaces == NumberOfDecimalPlaces) - { - return this; - } - - return new RoundedDouble(newNumberOfDecimalPlaces, Value); + return newNumberOfDecimalPlaces != NumberOfDecimalPlaces + ? new RoundedDouble(newNumberOfDecimalPlaces, Value) + : this; } public static bool operator <(RoundedDouble left, RoundedDouble right)