@@ -423,7 +423,7 @@ public static TableDefinition Content(ReportData reportData, Dictionary<string,
423423 string curValue = MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . CurrentSnapshot , expr , _metricFormat , null , string . Empty ) ;
424424 string prevValue = reportData . PreviousSnapshot != null ? MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . PreviousSnapshot , expr , _metricFormat , null , string . Empty ) : Labels . NoData ;
425425 if ( positionSnapshots != - 1 ) _posResults [ positionSnapshots ] = Labels . EvolutionPercent ;
426- string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) ) ) ;
426+ string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) , System . Globalization . CultureInfo . CurrentCulture ) ) ;
427427 results . Add ( Tuple . Create ( _posResults [ 0 ] , _posResults [ 1 ] , _posResults [ 2 ] , _posResults [ 3 ] ) , evolPercentValue ) ;
428428 break ;
429429 default :
@@ -633,7 +633,7 @@ public static TableDefinition Content(ReportData reportData, Dictionary<string,
633633 string curValue = MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . CurrentSnapshot , expr , _metricFormat , module , string . Empty ) ;
634634 string prevValue = reportData . PreviousSnapshot != null ? MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . PreviousSnapshot , expr , _metricFormat , module , string . Empty ) : Labels . NoData ;
635635 if ( positionSnapshots != - 1 ) _posResults [ positionSnapshots ] = Labels . EvolutionPercent ;
636- string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) ) ) ;
636+ string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) , System . Globalization . CultureInfo . CurrentCulture ) ) ;
637637 results . Add ( Tuple . Create ( _posResults [ 0 ] , _posResults [ 1 ] , _posResults [ 2 ] , _posResults [ 3 ] ) , evolPercentValue ) ;
638638 break ;
639639 default :
@@ -855,7 +855,7 @@ public static TableDefinition Content(ReportData reportData, Dictionary<string,
855855 string curValue = MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . CurrentSnapshot , expr , _metricFormat , null , techno ) ;
856856 string prevValue = reportData . PreviousSnapshot != null ? MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . PreviousSnapshot , expr , _metricFormat , null , techno ) : Labels . NoData ;
857857 if ( positionSnapshots != - 1 ) _posResults [ positionSnapshots ] = Labels . EvolutionPercent ;
858- string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) ) ) ;
858+ string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) , System . Globalization . CultureInfo . CurrentCulture ) ) ;
859859 results . Add ( Tuple . Create ( _posResults [ 0 ] , _posResults [ 1 ] , _posResults [ 2 ] , _posResults [ 3 ] ) , evolPercentValue ) ;
860860 break ;
861861 default :
@@ -1085,7 +1085,7 @@ public static TableDefinition Content(ReportData reportData, Dictionary<string,
10851085 string curValue = MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . CurrentSnapshot , expr , _metricFormat , module , techno ) ;
10861086 string prevValue = reportData . PreviousSnapshot != null ? MetricsUtility . CustomExpressionEvaluation ( reportData , options , lstParams , reportData . PreviousSnapshot , expr , _metricFormat , module , techno ) : Labels . NoData ;
10871087 if ( positionSnapshots != - 1 ) _posResults [ positionSnapshots ] = Labels . EvolutionPercent ;
1088- string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) ) ) ;
1088+ string evolPercentValue = FormatHelper . FormatPercent ( double . Parse ( MetricsUtility . ComputeExpression ( curValue + " - " + prevValue , _metricFormat , false ) , System . Globalization . CultureInfo . CurrentCulture ) ) ;
10891089 results . Add ( Tuple . Create ( _posResults [ 0 ] , _posResults [ 1 ] , _posResults [ 2 ] , _posResults [ 3 ] ) , evolPercentValue ) ;
10901090 break ;
10911091 default :
0 commit comments